diff options
Diffstat (limited to 'core/src/fpdfdoc/doc_vt.cpp')
-rw-r--r-- | core/src/fpdfdoc/doc_vt.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/src/fpdfdoc/doc_vt.cpp b/core/src/fpdfdoc/doc_vt.cpp index fd3cbb058c..c6fdf0e3e7 100644 --- a/core/src/fpdfdoc/doc_vt.cpp +++ b/core/src/fpdfdoc/doc_vt.cpp @@ -822,10 +822,8 @@ CPDF_VariableText::CPDF_VariableText() : } CPDF_VariableText::~CPDF_VariableText() { - if (m_pVTIterator) { - delete m_pVTIterator; - m_pVTIterator = NULL; - } + delete m_pVTIterator; + m_pVTIterator = NULL; ResetAll(); } void CPDF_VariableText::Initialize() |