Index: core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp b/core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp |
index eb40de7d495bea2ea7951608e91896cf0bfd9ab8..5696fc0c8d7b874aefaf0637eb08843fbc2dccf0 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp |
@@ -30,7 +30,7 @@ |
// in case of cyclic references. |
m_ObjNum = kInvalidObjNum; |
for (const auto& it : m_Map) { |
- if (it.second && it.second->GetObjNum() != kInvalidObjNum) |
+ if (it.second) |
it.second->Release(); |
} |
} |