Chromium Code Reviews| Index: core/fpdfdoc/cpdf_annot.cpp |
| diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp |
| index 3df5ca5144c4bf0c3c71873b28e74d1115080887..ed5d38ef677c6ce4d5c040353847d37922c1d7ae 100644 |
| --- a/core/fpdfdoc/cpdf_annot.cpp |
| +++ b/core/fpdfdoc/cpdf_annot.cpp |
| @@ -56,7 +56,7 @@ CPDF_Annot::CPDF_Annot(CPDF_Dictionary* pDict, |
| CPDF_Annot::~CPDF_Annot() { |
| if (m_bOwnedAnnotDict) |
| - m_pAnnotDict->Release(); |
| + delete m_pAnnotDict; |
| ClearCachedAP(); |
| } |