Index: core/fpdfapi/fpdf_parser/cfdf_document.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cfdf_document.cpp b/core/fpdfapi/fpdf_parser/cfdf_document.cpp |
index 92b20cafd83f83c9101a7ef826ec185d73a0fb69..c602f634ad9ecd13b5c8d065bf35ecff084150b3 100644 |
--- a/core/fpdfapi/fpdf_parser/cfdf_document.cpp |
+++ b/core/fpdfapi/fpdf_parser/cfdf_document.cpp |
@@ -25,8 +25,7 @@ CFDF_Document* CFDF_Document::CreateNewDoc() { |
CFDF_Document* pDoc = new CFDF_Document; |
pDoc->m_pRootDict = new CPDF_Dictionary; |
pDoc->AddIndirectObject(pDoc->m_pRootDict); |
- CPDF_Dictionary* pFDFDict = new CPDF_Dictionary; |
- pDoc->m_pRootDict->SetFor("FDF", pFDFDict); |
+ pDoc->m_pRootDict->SetFor("FDF", new CPDF_Dictionary); |
return pDoc; |
} |