| Index: core/fxcodec/jbig2/JBig2_GsidProc.cpp
|
| diff --git a/core/fxcodec/jbig2/JBig2_GsidProc.cpp b/core/fxcodec/jbig2/JBig2_GsidProc.cpp
|
| index 92532d7238f6008cceda88f3f95caba0dd05f818..f1a566a5db65f456a1b78a785a7adbf4e976e028 100644
|
| --- a/core/fxcodec/jbig2/JBig2_GsidProc.cpp
|
| +++ b/core/fxcodec/jbig2/JBig2_GsidProc.cpp
|
| @@ -96,10 +96,9 @@ FX_DWORD* CJBig2_GSIDProc::decode_MMR(CJBig2_BitStream* pStream,
|
| pGRD->Continue_decode(pPause);
|
| }
|
| if (!GSPLANES.get()[J]) {
|
| - for (int32_t K = GSBPP - 1; K > J; --K) {
|
| + for (int32_t K = GSBPP - 1; K > J; --K)
|
| delete GSPLANES.get()[K];
|
| - return nullptr;
|
| - }
|
| + return nullptr;
|
| }
|
| pStream->alignByte();
|
| pStream->offset(3);
|
|
|