diff options
-rwxr-xr-x | src/codec/IfegDecodeAGIF.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/codec/IfegDecodeAGIF.c b/src/codec/IfegDecodeAGIF.c index 28c6520..39a7fd4 100755 --- a/src/codec/IfegDecodeAGIF.c +++ b/src/codec/IfegDecodeAGIF.c @@ -1754,10 +1754,6 @@ int __FastImgGetNextFrameAGIF_UseBuffer(AGifFrameInfo *pFrameData, BOOL bCenterA buffer[3] < '0' || buffer[3] > '9' || buffer[4] < '0' || buffer[4] > '9' || buffer[5] < 'A' || buffer[5] > 'z') { - if (pDecBuf != 0) { - IfegMemFree(pDecBuf); - pDecBuf = 0; - } return -1; } @@ -1784,10 +1780,6 @@ int __FastImgGetNextFrameAGIF_UseBuffer(AGifFrameInfo *pFrameData, BOOL bCenterA IfegMemFree(decoderline); decoderline = 0; } - if (pDecBuf != 0) { - IfegMemFree(pDecBuf); - pDecBuf = 0; - } return 0; } |