diff options
author | tsepez <tsepez@chromium.org> | 2016-05-18 13:07:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-18 13:07:00 -0700 |
commit | 1763f62972a3ebf080f645899a8de79b00dbfb23 (patch) | |
tree | 0fbbd48f53504797d79c3448be6b1ebf63f9146b /xfa/fxfa/app | |
parent | a039bc2d0142efe9148ed4580ef304b33570b431 (diff) | |
download | pdfium-1763f62972a3ebf080f645899a8de79b00dbfb23.tar.xz |
Remove Release() from CFX_SAXReader
Review-Url: https://codereview.chromium.org/1991993002
Diffstat (limited to 'xfa/fxfa/app')
-rw-r--r-- | xfa/fxfa/app/xfa_checksum.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xfa/fxfa/app/xfa_checksum.cpp b/xfa/fxfa/app/xfa_checksum.cpp index 1641816550..fab14c9b17 100644 --- a/xfa/fxfa/app/xfa_checksum.cpp +++ b/xfa/fxfa/app/xfa_checksum.cpp @@ -161,10 +161,8 @@ FX_BOOL CXFA_ChecksumContext::UpdateChecksum(IFX_FileRead* pSrcFile, } void CXFA_ChecksumContext::FinishChecksum() { - if (m_pSAXReader) { - m_pSAXReader->Release(); - m_pSAXReader = NULL; - } + delete m_pSAXReader; + m_pSAXReader = nullptr; if (m_pByteContext) { uint8_t digest[20]; FXSYS_memset(digest, 0, 20); |