Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: xfa/src/fxfa/src/app/xfa_ffapp.cpp

Issue 1579503002: XFA: Fix memory leakage on Linux - part 1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/src/fgas/src/crt/fx_utils.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxfa/src/app/xfa_ffapp.cpp
diff --git a/xfa/src/fxfa/src/app/xfa_ffapp.cpp b/xfa/src/fxfa/src/app/xfa_ffapp.cpp
index 0ce79e05dbe2d73b84cfbd7ca68526f09c34928e..5d16fd9052afd94b44370a4afb77c530fcd98a16 100644
--- a/xfa/src/fxfa/src/app/xfa_ffapp.cpp
+++ b/xfa/src/fxfa/src/app/xfa_ffapp.cpp
@@ -90,6 +90,7 @@ CXFA_FFApp::~CXFA_FFApp() {
if (m_pFWLApp) {
m_pFWLApp->Finalize();
m_pFWLApp->Release();
+ delete m_pFWLApp;
}
if (m_pFWLTheme) {
m_pFWLTheme->Release();
« no previous file with comments | « xfa/src/fgas/src/crt/fx_utils.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698