diff options
Diffstat (limited to 'core/src/fxge/ge/fx_ge_font.cpp')
-rw-r--r-- | core/src/fxge/ge/fx_ge_font.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/core/src/fxge/ge/fx_ge_font.cpp b/core/src/fxge/ge/fx_ge_font.cpp index 4c0cef40c4..56e178f985 100644 --- a/core/src/fxge/ge/fx_ge_font.cpp +++ b/core/src/fxge/ge/fx_ge_font.cpp @@ -106,11 +106,8 @@ FX_BOOL CFX_Font::LoadClone(const CFX_Font* pFont) { CFX_Font::~CFX_Font() { delete m_pSubstFont; - m_pSubstFont = NULL; -#ifndef PDF_ENABLE_XFA FX_Free(m_pFontDataAllocation); - m_pFontDataAllocation = NULL; -#else +#ifdef PDF_ENABLE_XFA if (m_bLogic) { m_OtfFontData.DetachBuffer(); return; @@ -130,10 +127,8 @@ CFX_Font::~CFX_Font() { } #ifdef PDF_ENABLE_XFA FX_Free(m_pOwnedStream); - m_pOwnedStream = NULL; #endif // PDF_ENABLE_XFA FX_Free(m_pGsubData); - m_pGsubData = NULL; #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ ReleasePlatformResource(); #endif |