[DF170928-00462] memory leak fix(svace) 38/154738/1 accepted/tizen/unified/20171012.075311 submit/tizen/20171012.051300
authorHaejeong Kim <backto.kim@samsung.com>
Wed, 11 Oct 2017 08:02:40 +0000 (17:02 +0900)
committerHaejeong Kim <backto.kim@samsung.com>
Wed, 11 Oct 2017 08:02:40 +0000 (17:02 +0900)
Change-Id: I72d95752bde561c7f6d16c8eedbd5ae83f2c9022

test/image_util_test.c

index 5f8d8bd..bfe536a 100755 (executable)
@@ -266,6 +266,7 @@ create_media_packet()
                                        g_printf("#Error# fread\n");
                                }
                                fclose(fp);
+                               IMAGE_UTIL_SAFE_FREE(src);
                        }
                }
        } else {