Index: core/fpdfapi/fpdf_parser/cpdf_object.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_object.cpp b/core/fpdfapi/fpdf_parser/cpdf_object.cpp |
index ba7490a13f7aa1f66976fa70e80565e6f6bb823a..d74003112fe3fb94ec650ae589e085769bd58b5e 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_object.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_object.cpp |
@@ -38,9 +38,7 @@ CPDF_Object* CPDF_Object::CloneNonCyclic( |
} |
void CPDF_Object::Release() { |
- if (m_ObjNum) |
- return; |
- |
+ CHECK(!m_ObjNum); |
delete this; |
} |