| 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 0c6e5be8ce98ea6199606a20a2b3fdbfa0197d4d..df45288812207bf90ce9d3bdcf8206049a8e010c 100644
|
| --- a/core/src/fxcodec/jbig2/JBig2_PatternDict.cpp
|
| +++ b/core/src/fxcodec/jbig2/JBig2_PatternDict.cpp
|
| @@ -15,9 +15,7 @@ CJBig2_PatternDict::~CJBig2_PatternDict()
|
| {
|
| if(HDPATS) {
|
| for(FX_DWORD i = 0; i < NUMPATS; i++) {
|
| - if(HDPATS[i]) {
|
| - delete HDPATS[i];
|
| - }
|
| + delete HDPATS[i];
|
| }
|
| m_pModule->JBig2_Free(HDPATS);
|
| }
|
|
|