diff options
author | tsepez <tsepez@chromium.org> | 2016-05-18 15:07:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-18 15:07:22 -0700 |
commit | d1f843e7473263593fd153f1e3210761c29e5363 (patch) | |
tree | e39bd81e63b25d180e4e5ec2916976531bdc6630 /xfa/fde/cfde_txtedtengine.cpp | |
parent | 87144d3fc81769578fbfae89f7b99bab89229a57 (diff) | |
download | pdfium-d1f843e7473263593fd153f1e3210761c29e5363.tar.xz |
Remove Release() from CFX_TxtBreak
Review-Url: https://codereview.chromium.org/1988393002
Diffstat (limited to 'xfa/fde/cfde_txtedtengine.cpp')
-rw-r--r-- | xfa/fde/cfde_txtedtengine.cpp | 5 |
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; |