summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/app/xfa_ffapp.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffapp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_ffapp.cpp b/xfa/fxfa/app/xfa_ffapp.cpp
index 7f19b26440..2dcb7a4e81 100644
--- a/xfa/fxfa/app/xfa_ffapp.cpp
+++ b/xfa/fxfa/app/xfa_ffapp.cpp
@@ -79,6 +79,7 @@ CXFA_FFApp::CXFA_FFApp(IXFA_AppProvider* pProvider)
m_pFWLApp->Initialize();
CXFA_TimeZoneProvider::Create();
}
+
CXFA_FFApp::~CXFA_FFApp() {
delete m_pDocHandler;
if (m_pFWLApp) {
@@ -86,8 +87,7 @@ CXFA_FFApp::~CXFA_FFApp() {
m_pFWLApp->Release();
delete m_pFWLApp;
}
- if (m_pFWLTheme)
- m_pFWLTheme->Release();
+ delete m_pFWLTheme;
delete m_pAdapterWidgetMgr;
CXFA_TimeZoneProvider::Destroy();