Index: core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
index d05dea447087faca1673b241ec6daee270813505..0ea43b4cd1903008b26f2b263157a68636953747 100644 |
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
@@ -1497,6 +1497,7 @@ FX_BOOL CPDF_Parser::IsLinearizedFile(IFX_FileRead* pFileAccess, FX_DWORD offset |
CPDF_Object *pLen = m_pLinearized->GetDict()->GetElement(FX_BSTRC("L")); |
if (!pLen) { |
m_pLinearized->Release(); |
+ m_pLinearized = NULL; |
return FALSE; |
} |
if (pLen->GetInteger() != (int)pFileAccess->GetSize()) { |