commit | 5532835aeb884642571be2f7b741b5f49f76cd64 | [log] [tgz] |
---|---|---|
author | tsepez <tsepez@chromium.org> | Fri Oct 21 13:53:04 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Oct 21 13:53:04 2016 -0700 |
tree | 5add652a0d9cbc03a56e3625bf34563d4dfd0209 | |
parent | a804fd48b71679ece1f1c2284c3c1835c9e20441 [diff] |
Re-enable CHECK() than only 0-numbered objects are released. Review-Url: https://chromiumcodereview.appspot.com/2424933002
diff --git a/core/fpdfapi/parser/cpdf_object.cpp b/core/fpdfapi/parser/cpdf_object.cpp index 3bf0a95..5c40733 100644 --- a/core/fpdfapi/parser/cpdf_object.cpp +++ b/core/fpdfapi/parser/cpdf_object.cpp
@@ -38,9 +38,7 @@ } void CPDF_Object::Release() { - if (m_ObjNum) - return; - + CHECK(!m_ObjNum); delete this; }