diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-14 16:22:29 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-14 16:22:29 +0000 |
commit | 7c04794d145d9d5c679dcd33d0ebcef662dcc909 (patch) | |
tree | 76a65c6a9331b70c92e6e22f7cc431261c4ec3cc /xfa/DEPS | |
parent | 68dde3bce9bb5594b8c1320a0114ebc4be9d3ee7 (diff) | |
download | pdfium-7c04794d145d9d5c679dcd33d0ebcef662dcc909.tar.xz |
Set node to owning element
When the document creates anew data root element it assigns it into the
CXFA_Node but fails to set that node as owing the XML node. The XML node
is never inserted into another XML tree so it ends up being leaked.
This CL sets the CXFA_Node to own the XML data tree node so it will be
cleaned up properly.
Bug: chromium:807863
Change-Id: I72a1b8f7b1f1a50bf7139d8bd0ecc8e504ccfc91
Reviewed-on: https://pdfium-review.googlesource.com/26790
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/DEPS')
0 files changed, 0 insertions, 0 deletions