Index: core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
index e066957e6290a4bd8a0cc0d2f85950dfaf0a7207..f58b9150d67d5dfa3b53ebef1add68689e7c8f54 100644 |
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
@@ -182,17 +182,11 @@ CPDF_DIBSource::CPDF_DIBSource() { |
} |
CPDF_DIBSource::~CPDF_DIBSource() { |
delete m_pStreamAcc; |
- if (m_pMaskedLine) { |
FX_Free(m_pMaskedLine); |
- } |
- if (m_pLineBuf) { |
FX_Free(m_pLineBuf); |
- } |
m_pCachedBitmap.reset(); |
delete m_pDecoder; |
- if (m_pCompData) { |
FX_Free(m_pCompData); |
- } |
CPDF_ColorSpace* pCS = m_pColorSpace; |
if (pCS && m_pDocument) { |
m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); |