| Index: core/src/fxcodec/codec/fx_codec_jbig.cpp
|
| diff --git a/core/src/fxcodec/codec/fx_codec_jbig.cpp b/core/src/fxcodec/codec/fx_codec_jbig.cpp
|
| index dec7330fe2f673ce44bb2a68a678c1c4cf342ca9..dca653de31b4af2dd7718f18c5be179986ebaef0 100644
|
| --- a/core/src/fxcodec/codec/fx_codec_jbig.cpp
|
| +++ b/core/src/fxcodec/codec/fx_codec_jbig.cpp
|
| @@ -10,7 +10,13 @@
|
| CCodec_Jbig2Context::CCodec_Jbig2Context() {
|
| FXSYS_memset(this, 0, sizeof(CCodec_Jbig2Context));
|
| }
|
| -CCodec_Jbig2Module::~CCodec_Jbig2Module() {}
|
| +
|
| +CCodec_Jbig2Module::~CCodec_Jbig2Module() {
|
| + for (auto it : m_SymbolDictCache) {
|
| + delete it.second;
|
| + }
|
| +}
|
| +
|
| void* CCodec_Jbig2Module::CreateJbig2Context() {
|
| return new CCodec_Jbig2Context();
|
| }
|
|
|