Index: core/src/fxge/ge/fx_ge_fontmap.cpp |
diff --git a/core/src/fxge/ge/fx_ge_fontmap.cpp b/core/src/fxge/ge/fx_ge_fontmap.cpp |
index d4416d9487944bb28ffe6a33a011cc068d285b20..100688c4e0f39ace1235bb589718da13632166b4 100644 |
--- a/core/src/fxge/ge/fx_ge_fontmap.cpp |
+++ b/core/src/fxge/ge/fx_ge_fontmap.cpp |
@@ -33,9 +33,7 @@ CTTFontDesc::~CTTFontDesc() { |
FXFT_Done_Face(m_TTCFace.m_pFaces[i]); |
} |
} |
- if (m_pFontData) { |
- FX_Free(m_pFontData); |
- } |
+ FX_Free(m_pFontData); |
} |
FX_BOOL CTTFontDesc::ReleaseFace(FXFT_Face face) { |
if (m_Type == 1) { |