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/tto | |
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/tto')
-rw-r--r-- | xfa/fde/tto/fde_textout.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/fde/tto/fde_textout.cpp b/xfa/fde/tto/fde_textout.cpp index ca108de92c..3e14b9bf38 100644 --- a/xfa/fde/tto/fde_textout.cpp +++ b/xfa/fde/tto/fde_textout.cpp @@ -47,9 +47,7 @@ CFDE_TextOut::CFDE_TextOut() m_rtLogicClip.Reset(); } CFDE_TextOut::~CFDE_TextOut() { - if (m_pTxtBreak) { - m_pTxtBreak->Release(); - } + delete m_pTxtBreak; FX_Free(m_pCharWidths); FX_Free(m_pEllCharWidths); FX_Free(m_pCharPos); |