Index: core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
diff --git a/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp b/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
index 3c8b2567fe8490005271a4154acd07fd690b7e8f..6c728242e6d1a39e5430eaf44a3d87930219fa95 100644 |
--- a/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
+++ b/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
@@ -301,15 +301,9 @@ CPDF_CMap::CPDF_CMap() { |
m_nCodeRanges = 0; |
} |
CPDF_CMap::~CPDF_CMap() { |
- if (m_pMapping) { |
- FX_Free(m_pMapping); |
- } |
- if (m_pAddMapping) { |
- FX_Free(m_pAddMapping); |
- } |
- if (m_pLeadingBytes) { |
- FX_Free(m_pLeadingBytes); |
- } |
+ FX_Free(m_pMapping); |
+ FX_Free(m_pAddMapping); |
+ FX_Free(m_pLeadingBytes); |
delete m_pUseMap; |
} |
void CPDF_CMap::Release() { |