Fixed SVace Errors in Music Player 67/63467/1 accepted/tizen/mobile/20160407.002137 submit/tizen_mobile/20160406.115308
authorbhutani.92 <bhutani.92@samsung.com>
Thu, 24 Mar 2016 06:46:20 +0000 (12:16 +0530)
committerbhutani.92 <bhutani.92@samsung.com>
Thu, 24 Mar 2016 06:46:20 +0000 (12:16 +0530)
Change-Id: I5b4828948272eea38626eb0e9a76f2f3c483398d
Signed-off-by: bhutani.92 <bhutani.92@samsung.com>
src/common/mp-media-info.c

index 2f5e485..fec2679 100755 (executable)
@@ -1705,7 +1705,6 @@ static inline bool _album_track_foreach_cb(media_info_h media, void *user_data)
        if (res  != MEDIA_CONTENT_ERROR_NONE) {
                audio_meta_destroy(audio);
                IF_FREE(album);
-               audio_meta_destroy(audio);
                return false;
        }
 
@@ -1713,7 +1712,6 @@ static inline bool _album_track_foreach_cb(media_info_h media, void *user_data)
        if (res  != MEDIA_CONTENT_ERROR_NONE) {
                audio_meta_destroy(audio);
                IF_FREE(album);
-               audio_meta_destroy(audio);
                return false;
        }
 
@@ -1722,7 +1720,6 @@ static inline bool _album_track_foreach_cb(media_info_h media, void *user_data)
                audio_meta_destroy(audio);
                IF_FREE(album);
                IF_FREE(track_num)
-               audio_meta_destroy(audio);
                return false;
        }