| Index: core/src/fxcodec/jbig2/JBig2_PatternDict.cpp
|
| diff --git a/core/src/fxcodec/jbig2/JBig2_PatternDict.cpp b/core/src/fxcodec/jbig2/JBig2_PatternDict.cpp
|
| index 3469c368472b155a998b9496f4e40c044889ad35..21f6d6418278b0c4ed68834a58a54241a1fd3e6b 100644
|
| --- a/core/src/fxcodec/jbig2/JBig2_PatternDict.cpp
|
| +++ b/core/src/fxcodec/jbig2/JBig2_PatternDict.cpp
|
| @@ -5,6 +5,9 @@
|
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
|
|
|
| #include "JBig2_PatternDict.h"
|
| +
|
| +#include "../../../include/fxcrt/fx_memory.h"
|
| +
|
| CJBig2_PatternDict::CJBig2_PatternDict() {
|
| NUMPATS = 0;
|
| HDPATS = NULL;
|
| @@ -15,6 +18,6 @@ CJBig2_PatternDict::~CJBig2_PatternDict() {
|
| for (FX_DWORD i = 0; i < NUMPATS; i++) {
|
| delete HDPATS[i];
|
| }
|
| - m_pModule->JBig2_Free(HDPATS);
|
| + FX_Free(HDPATS);
|
| }
|
| }
|
|
|