Index: core/src/fpdftext/fpdf_text.cpp |
diff --git a/core/src/fpdftext/fpdf_text.cpp b/core/src/fpdftext/fpdf_text.cpp |
index 52fcb5abd7508f57354d6b8dd5e36b4c0840f31c..e7ca6c136f983f71479f2a0b447014983d4b13c6 100644 |
--- a/core/src/fpdftext/fpdf_text.cpp |
+++ b/core/src/fpdftext/fpdf_text.cpp |
@@ -104,9 +104,7 @@ void CTextPage::ProcessObject(CPDF_PageObject* pObject) { |
InsertTextBox(NULL, char_origy, char_left, char_right, char_top, |
char_bottom, spacew, fontsize_v, str, pFont); |
} |
- if (pPosArray) { |
- FX_Free(pPosArray); |
- } |
+ FX_Free(pPosArray); |
return; |
} |
FX_FLOAT ratio_h = fontsize_h / pText->m_TextState.GetFontSize(); |