From f3c9cf66d6a850b8225bc161722bed8aed440a2f Mon Sep 17 00:00:00 2001 From: Jun Fang Date: Mon, 11 Jan 2016 19:08:21 -0800 Subject: XFA: Fix memory leakage on Linux BUG=pdfium:348 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1579503002 . --- fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'fpdfsdk/src') 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; } } -- cgit v1.2.3