Index: core/src/fxge/ge/fx_ge_font.cpp |
diff --git a/core/src/fxge/ge/fx_ge_font.cpp b/core/src/fxge/ge/fx_ge_font.cpp |
index 8e4e5ac2e322a42b5531a1211416d923d3732b30..f88cbaacde593d82624d2100c4ae00f7ed9396e5 100644 |
--- a/core/src/fxge/ge/fx_ge_font.cpp |
+++ b/core/src/fxge/ge/fx_ge_font.cpp |
@@ -28,10 +28,8 @@ CFX_Font::CFX_Font() |
} |
CFX_Font::~CFX_Font() |
{ |
- if (m_pSubstFont) { |
- delete m_pSubstFont; |
- m_pSubstFont = NULL; |
- } |
+ delete m_pSubstFont; |
+ m_pSubstFont = NULL; |
if (m_pFontDataAllocation) { |
FX_Free(m_pFontDataAllocation); |
m_pFontDataAllocation = NULL; |