diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2016-01-11 19:08:21 -0800 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2016-01-11 19:08:21 -0800 |
commit | f3c9cf66d6a850b8225bc161722bed8aed440a2f (patch) | |
tree | bc3789329155da2eca26809f61ffe30d6c7f394c /fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp | |
parent | 65ac873de9164c01af2579a773344c4bca7254d7 (diff) | |
download | pdfium-f3c9cf66d6a850b8225bc161722bed8aed440a2f.tar.xz |
XFA: Fix memory leakage on Linux
BUG=pdfium:348
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1579503002 .
Diffstat (limited to 'fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp')
-rw-r--r-- | fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp index d623a68637..92d16b64e2 100644 --- a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp +++ b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp @@ -65,6 +65,7 @@ CPDFXFA_Document::~CPDFXFA_Document() { CloseXFADoc(pDocHandler);
}
}
+ delete m_pXFADoc;
}
}
|