Index: xfa/fxfa/app/xfa_ffapp.cpp |
diff --git a/xfa/fxfa/app/xfa_ffapp.cpp b/xfa/fxfa/app/xfa_ffapp.cpp |
index f2a6ad5e0d375445c7fb29dc01b5ba357e1c021c..5f2f1b982851df40d587b3036826159b4bb0ce1a 100644 |
--- a/xfa/fxfa/app/xfa_ffapp.cpp |
+++ b/xfa/fxfa/app/xfa_ffapp.cpp |
@@ -25,6 +25,9 @@ CXFA_FileRead::CXFA_FileRead(const CFX_ArrayTemplate<CPDF_Stream*>& streams) { |
acc.LoadAllData(streams[i]); |
} |
} |
+ |
+CXFA_FileRead::~CXFA_FileRead() {} |
+ |
FX_FILESIZE CXFA_FileRead::GetSize() { |
uint32_t dwSize = 0; |
int32_t iCount = m_Data.GetSize(); |
@@ -64,6 +67,10 @@ FX_BOOL CXFA_FileRead::ReadBlock(void* buffer, |
return FALSE; |
} |
+void CXFA_FileRead::Release() { |
+ delete this; |
+} |
+ |
CXFA_FFApp::CXFA_FFApp(IXFA_AppProvider* pProvider) |
: m_pDocHandler(nullptr), |
m_pFWLTheme(nullptr), |