summaryrefslogtreecommitdiff
path: root/src/codec
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec')
-rwxr-xr-xsrc/codec/IfegDecodeAGIF.c8
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;
}