| Index: core/fpdfapi/parser/cpdf_document.cpp
|
| diff --git a/core/fpdfapi/parser/cpdf_document.cpp b/core/fpdfapi/parser/cpdf_document.cpp
|
| index ad84a15a9751a76ef770cd24279d5c3cd83c70d5..64574047e5733cc4ebb8d2f07a6f7811d2ba849f 100644
|
| --- a/core/fpdfapi/parser/cpdf_document.cpp
|
| +++ b/core/fpdfapi/parser/cpdf_document.cpp
|
| @@ -634,7 +634,7 @@ CPDF_Dictionary* CPDF_Document::CreateNewPage(int iPage) {
|
| pDict->SetNameFor("Type", "Page");
|
| uint32_t dwObjNum = AddIndirectObject(pDict);
|
| if (!InsertNewPage(iPage, pDict)) {
|
| - ReleaseIndirectObject(dwObjNum);
|
| + DeleteIndirectObject(dwObjNum);
|
| return nullptr;
|
| }
|
| return pDict;
|
|
|