summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Min <jiyong.min@samsung.com>2016-12-05 07:10:57 (GMT)
committerJiyong Min <jiyong.min@samsung.com>2016-12-05 07:13:00 (GMT)
commit41f9e742eaaec289a74a0cbcc835bc2a7e7555e7 (patch)
tree11e0d7652f4187d2a43ebbc7e03ded26de988be0
parent9a7f494e4a65d392bc75f9329175bcda0ffe3b72 (diff)
downloadlibmedia-thumbnail-41f9e742eaaec289a74a0cbcc835bc2a7e7555e7.zip
libmedia-thumbnail-41f9e742eaaec289a74a0cbcc835bc2a7e7555e7.tar.gz
libmedia-thumbnail-41f9e742eaaec289a74a0cbcc835bc2a7e7555e7.tar.bz2
Change-Id: Ie49a15a8b06a25510d072483bce8cf23c2934b6a Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
-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;
}