summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedtengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/cfde_txtedtengine.cpp')
-rw-r--r--xfa/fde/cfde_txtedtengine.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/xfa/fde/cfde_txtedtengine.cpp b/xfa/fde/cfde_txtedtengine.cpp
index 9781d60bf8..a99d8087c5 100644
--- a/xfa/fde/cfde_txtedtengine.cpp
+++ b/xfa/fde/cfde_txtedtengine.cpp
@@ -48,10 +48,7 @@ CFDE_TxtEdtEngine::CFDE_TxtEdtEngine()
CFDE_TxtEdtEngine::~CFDE_TxtEdtEngine() {
delete m_pTxtBuf;
- if (m_pTextBreak) {
- m_pTextBreak->Release();
- m_pTextBreak = NULL;
- }
+ delete m_pTextBreak;
RemoveAllParags();
RemoveAllPages();
m_Param.pEventSink = NULL;