Index: core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
index 7d6921f544cd27146a2b637df5c64075460220a8..456ac32649c4f341ee4805aaa9014d13dfc9c607 100644 |
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
@@ -531,9 +531,7 @@ CPDF_CharPosList::CPDF_CharPosList() { |
m_pCharPos = NULL; |
} |
CPDF_CharPosList::~CPDF_CharPosList() { |
- if (m_pCharPos) { |
FX_Free(m_pCharPos); |
- } |
} |
void CPDF_CharPosList::Load(int nChars, |
FX_DWORD* pCharCodes, |