summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page')
-rw-r--r--core/fpdfapi/page/cpdf_imageobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_imageobject.cpp b/core/fpdfapi/page/cpdf_imageobject.cpp
index 1c2cc6ba7e..8732c00954 100644
--- a/core/fpdfapi/page/cpdf_imageobject.cpp
+++ b/core/fpdfapi/page/cpdf_imageobject.cpp
@@ -61,7 +61,7 @@ void CPDF_ImageObject::MaybePurgeCache() {
return;
CPDF_DocPageData* pPageData = pDocument->GetPageData();
- if (pPageData)
+ if (!pPageData)
return;
CPDF_Stream* pStream = m_pImage->GetStream();