Index: fpdfsdk/fpdfppo.cpp |
diff --git a/fpdfsdk/fpdfppo.cpp b/fpdfsdk/fpdfppo.cpp |
index d901a6114304cfceb1e0c79aeb0b5de5efb86388..0a3e9714cef8d6f4aa53fe14437f67be48c8094e 100644 |
--- a/fpdfsdk/fpdfppo.cpp |
+++ b/fpdfsdk/fpdfppo.cpp |
@@ -70,7 +70,7 @@ FX_BOOL CPDF_PageOrganizer::PDFDocInit(CPDF_Document* pDestPDFDoc, |
CPDF_Dictionary* pNewPages = |
pElement ? ToDictionary(pElement->GetDirect()) : nullptr; |
if (!pNewPages) { |
- pNewPages = new CPDF_Dictionary; |
+ pNewPages = new CPDF_Dictionary(pDestPDFDoc->GetByteStringPool()); |
pNewRoot->SetReferenceFor("Pages", pDestPDFDoc, |
pDestPDFDoc->AddIndirectObject(pNewPages)); |
} |