summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-08-03 10:55:00 +0900
committerHaejeong Kim <backto.kim@samsung.com>2017-08-03 10:55:00 +0900
commitbbc12e4679617e7ff006c796e0e2b3bcd6844d41 (patch)
tree612d5f11b65539f112527c33982d5480cf315782
parent966d491d47af218a10bcb99a3143e173a288c632 (diff)
downloadlibmedia-thumbnail-resf/for/tizen.tar.gz
libmedia-thumbnail-resf/for/tizen.tar.bz2
libmedia-thumbnail-resf/for/tizen.zip
Save issue fix. Just remove unreached coderesf/for/tizen
Change-Id: I0ddb7a4955edadc0b1a8383da176c33900280b55
-rwxr-xr-xsrc/codec/IfegDecodeAGIF.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/codec/IfegDecodeAGIF.c b/src/codec/IfegDecodeAGIF.c
index 39a7fd4..34e6326 100755
--- a/src/codec/IfegDecodeAGIF.c
+++ b/src/codec/IfegDecodeAGIF.c
@@ -903,10 +903,6 @@ int __FastImgGetNextFrameAGIF_NoBuffer(AGifFrameInfo *pFrameData, BOOL bCenterAl
}
decoderline = (unsigned char *)IfegMemAlloc(orgwdt);
if (!decoderline) {
- if (decoderline != 0) {
- IfegMemFree(decoderline);
- decoderline = 0;
- }
if (pDecBuf != 0) {
IfegMemFree(pDecBuf);
pDecBuf = 0;
@@ -943,10 +939,6 @@ int __FastImgGetNextFrameAGIF_NoBuffer(AGifFrameInfo *pFrameData, BOOL bCenterAl
IfegMemFree(decoderline);
decoderline = 0;
}
- if (pDecBuf != 0) {
- IfegMemFree(pDecBuf);
- pDecBuf = 0;
- }
IfegMemFree(done_prefix);
done_prefix = 0;
return 0;
@@ -2033,10 +2025,6 @@ int __FastImgGetNextFrameAGIF_UseBuffer(AGifFrameInfo *pFrameData, BOOL bCenterA
}
decoderline = (unsigned char *)IfegMemAlloc(orgwdt);
if (!decoderline) {
- if (decoderline != 0) {
- IfegMemFree(decoderline);
- decoderline = 0;
- }
if (pDecBuf != 0) {
IfegMemFree(pDecBuf);
pDecBuf = 0;