Index: core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
diff --git a/core/src/fpdfapi/fpdf_font/fpdf_font.cpp b/core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
index 0107000dd9725f91c5587694f7135d5965fd48f2..8eae7cf3f8aaf8e436256bba3fa70ebb876747cb 100644 |
--- a/core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
+++ b/core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
@@ -30,9 +30,7 @@ CPDF_FontGlobals::CPDF_FontGlobals() : m_pContrastRamps(NULL) { |
} |
CPDF_FontGlobals::~CPDF_FontGlobals() { |
ClearAll(); |
- if (m_pContrastRamps) { |
- FX_Free(m_pContrastRamps); |
- } |
+ FX_Free(m_pContrastRamps); |
} |
class CFX_StockFontArray { |
public: |