summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-06-09 16:10:57 -0700
committerJohn Abd-El-Malek <jam@chromium.org>2014-06-09 16:10:57 -0700
commit9e16edd0ffb834e87da76fe6b0fe4aef39312685 (patch)
tree51356285b9bc1fa668e073f1754ddf0c7bc463ef /core/src
parentdef5c7d8af6ecb08da02c302f6c2600197d1d688 (diff)
downloadpdfium-chromium/2073.tar.xz
BUG=381031 Original patch by Chris Palmer <palmer@chromium.org> Review URL: https://codereview.chromium.org/322453002
Diffstat (limited to 'core/src')
-rw-r--r--core/src/fxcodec/jbig2/JBig2_Context.cpp2
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) {