From: Vikas Kumar Agrawal Date: Tue, 9 Oct 2018 22:05:12 +0000 (+0530) Subject: Fix crash on tab switching X-Git-Tag: submit/tizen/20181016.224209~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=555375f960e1fff455eeb98f56a259f133ddc2ca;p=profile%2Fmobile%2Fapps%2Fnative%2Fmusic-player.git Fix crash on tab switching Change-Id: Ie90da61e4940dac61c569506a8883ea2dde54d88 --- diff --git a/src/widget/mp-track-list.c b/src/widget/mp-track-list.c index 84e84b8..64e40f6 100644 --- a/src/widget/mp-track-list.c +++ b/src/widget/mp-track-list.c @@ -1235,6 +1235,7 @@ static void _mp_track_list_destory_cb(void *thiz) if (list->playlists) { mp_media_info_group_list_destroy(list->playlists); + list->playlists = NULL; } if (list->track_list[0]) {