Coverity issue fix 59/174859/1 accepted/tizen/unified/20180405.064241 submit/tizen/20180404.123610
authorVikas Kumar Agrawal <vikas.ag@samsung.com>
Wed, 4 Apr 2018 11:59:50 +0000 (17:29 +0530)
committerVikas Kumar Agrawal <vikas.ag@samsung.com>
Wed, 4 Apr 2018 11:59:50 +0000 (17:29 +0530)
Change-Id: I74f770366ce46fc1b1a4f0226b24f80a62e03cdf

src/data/ge-data-util.c

index b27b928..6546bea 100644 (file)
@@ -269,5 +269,6 @@ bool _ge_data_util_clone_media(media_info_h media, ge_media_s ** pitem,
   GE_DATA_UTIL_FAILED:
 
        _ge_data_type_free_geitem((void **) (&item));
+       free(item);
        return false;
 }