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 39e2d217b74b4f02ee5aaf0fd75235d79ed17628..f1b316a0d60640006bb5208878f493a344b64bdd 100644 |
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
@@ -2481,9 +2481,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; |