Index: core/fpdfdoc/cpdf_annot.cpp |
diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp |
index 80edde8a8febf67d92aa2dc42b31e7c927ea5322..2f3fc804f32015ee484e0c61ab0d3e3a9051a8bc 100644 |
--- a/core/fpdfdoc/cpdf_annot.cpp |
+++ b/core/fpdfdoc/cpdf_annot.cpp |
@@ -57,7 +57,7 @@ CPDF_Annot::CPDF_Annot(CPDF_Dictionary* pDict, |
CPDF_Annot::~CPDF_Annot() { |
if (m_bOwnedAnnotDict) |
- m_pAnnotDict->Release(); |
+ delete m_pAnnotDict; |
ClearCachedAP(); |
} |