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 2772d9825eddb9f5b61cf6895c1f4bcfc448b63d..0d4ed27c06ac84c3dc8043b2a696cfe80d2034a2 100644 |
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
@@ -2477,9 +2477,6 @@ CPDF_Stream* CPDF_SyntaxParser::ReadStream(CPDF_Dictionary* pDict, PARSE_CONTEXT |
} |
CPDF_Stream* pStream; |
FX_LPBYTE pData = FX_Alloc(FX_BYTE, len); |
- if (!pData) { |
- return NULL; |
- } |
ReadBlock(pData, len); |
if (pCryptoHandler) { |
CFX_BinaryBuf dest_buf; |