summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
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) {