summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-08-03 01:57:03 (GMT)
committerhj kim <backto.kim@samsung.com>2017-08-03 06:44:58 (GMT)
commita0d38baad484c125d16ba7a680f31a87de7fde0c (patch)
tree612d5f11b65539f112527c33982d5480cf315782
parent966d491d47af218a10bcb99a3143e173a288c632 (diff)
downloadlibmedia-thumbnail-a0d38baad484c125d16ba7a680f31a87de7fde0c.zip
libmedia-thumbnail-a0d38baad484c125d16ba7a680f31a87de7fde0c.tar.gz
libmedia-thumbnail-a0d38baad484c125d16ba7a680f31a87de7fde0c.tar.bz2
Svace issue fix. Just remove unreached coderefs/changes/56/142156/2
Change-Id: If19cc27d41f30c62c3a53a6abd618ad843d819b2
-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;