Index: xfa/src/fxfa/src/app/xfa_ffdoc.cpp |
diff --git a/xfa/src/fxfa/src/app/xfa_ffdoc.cpp b/xfa/src/fxfa/src/app/xfa_ffdoc.cpp |
index 87745616e03c98c855a57a5b503e6ed9a0e6ed6b..513098c7a96469bd4be892428907743657bce0b8 100644 |
--- a/xfa/src/fxfa/src/app/xfa_ffdoc.cpp |
+++ b/xfa/src/fxfa/src/app/xfa_ffdoc.cpp |
@@ -113,13 +113,6 @@ int32_t CXFA_FFDoc::DoLoad(IFX_Pause* pPause) { |
IFX_FileRead* pXFAReader = NULL; |
if (XFA_GetPDFContentsFromPDFXML(pPDFXML, pByteBuffer, iBufferSize)) { |
pXFAReader = FX_CreateMemoryStream(pByteBuffer, iBufferSize, TRUE); |
- if (!pXFAReader) { |
- if (pByteBuffer) { |
- FX_Free(pByteBuffer); |
- pByteBuffer = NULL; |
- } |
- return XFA_PARSESTATUS_SyntaxErr; |
- } |
} else { |
CFX_WideString wsHref; |
((IFDE_XMLElement*)pPDFXML)->GetString(L"href", wsHref); |