summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2016-01-11 19:08:21 -0800
committerJun Fang <jun_fang@foxitsoftware.com>2016-01-11 19:08:21 -0800
commitf3c9cf66d6a850b8225bc161722bed8aed440a2f (patch)
treebc3789329155da2eca26809f61ffe30d6c7f394c /xfa/src/fxfa
parent65ac873de9164c01af2579a773344c4bca7254d7 (diff)
downloadpdfium-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 'xfa/src/fxfa')
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffapp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_ffapp.cpp b/xfa/src/fxfa/src/app/xfa_ffapp.cpp
index fb37fb7ba3..8fb614b8a3 100644
--- a/xfa/src/fxfa/src/app/xfa_ffapp.cpp
+++ b/xfa/src/fxfa/src/app/xfa_ffapp.cpp
@@ -92,6 +92,7 @@ CXFA_FFApp::~CXFA_FFApp() {
if (m_pFWLApp) {
m_pFWLApp->Finalize();
m_pFWLApp->Release();
+ delete m_pFWLApp;
}
if (m_pFWLTheme) {
m_pFWLTheme->Release();