diff options
author | John Abd-El-Malek <jam@chromium.org> | 2014-06-09 16:10:57 -0700 |
---|---|---|
committer | John Abd-El-Malek <jam@chromium.org> | 2014-06-09 16:10:57 -0700 |
commit | 9e16edd0ffb834e87da76fe6b0fe4aef39312685 (patch) | |
tree | 51356285b9bc1fa668e073f1754ddf0c7bc463ef /core/src/fxcodec | |
parent | def5c7d8af6ecb08da02c302f6c2600197d1d688 (diff) | |
download | pdfium-9e16edd0ffb834e87da76fe6b0fe4aef39312685.tar.xz |
free, rather than delete, malloc'd object.chromium/2076chromium/2075chromium/2074chromium/2073chromium/2072chromium/2071chromium/2070chromium/2069chromium/2068chromium/2067chromium/2066chromium/2065chromium/2064chromium/2063chromium/2061chromium/2060chromium/2059chromium/2058chromium/2057chromium/2056chromium/2055chromium/2054chromium/2053chromium/2052chromium/2051chromium/2050chromium/2049chromium/2048chromium/2047chromium/2046chromium/2045chromium/2044
BUG=381031
Original patch by Chris Palmer <palmer@chromium.org>
Review URL: https://codereview.chromium.org/322453002
Diffstat (limited to 'core/src/fxcodec')
-rw-r--r-- | core/src/fxcodec/jbig2/JBig2_Context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_Context.cpp b/core/src/fxcodec/jbig2/JBig2_Context.cpp index 543f9abf63..83ded6fbe1 100644 --- a/core/src/fxcodec/jbig2/JBig2_Context.cpp +++ b/core/src/fxcodec/jbig2/JBig2_Context.cpp @@ -59,7 +59,7 @@ CJBig2_Context::~CJBig2_Context() } m_pGRD = NULL; if(m_gbContext) { - delete m_gbContext; + m_pModule->JBig2_Free(m_gbContext); } m_gbContext = NULL; if(m_pGlobalContext) { |