Fix resource leak for 'file_name_pinyin' 17/225817/2
authorjiyong.min <jiyong.min@samsung.com>
Mon, 24 Feb 2020 23:12:38 +0000 (08:12 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Mon, 24 Feb 2020 23:23:15 +0000 (08:23 +0900)
Change-Id: I0f2c0b3b10f3eff9aaff25a757fc770686b1d927

src/common/media-svc-util.c

index 86d5de5..09ec4a9 100644 (file)
@@ -1458,6 +1458,7 @@ void _media_svc_destroy_content_info(media_svc_content_info_s *content_info)
        SAFE_FREE(content_info->media_meta.exposure_time);
        SAFE_FREE(content_info->media_meta.model);
 
+       SAFE_FREE(content_info->file_name_pinyin);
        SAFE_FREE(content_info->media_meta.title_pinyin);
        SAFE_FREE(content_info->media_meta.album_pinyin);
        SAFE_FREE(content_info->media_meta.artist_pinyin);