Fix crash on tab switching 40/190940/2
authorVikas Kumar Agrawal <vikas.ag@samsung.com>
Tue, 9 Oct 2018 22:05:12 +0000 (03:35 +0530)
committerVikas Kumar Agrawal <vikas.ag@samsung.com>
Wed, 10 Oct 2018 16:08:30 +0000 (21:38 +0530)
Change-Id: Ie90da61e4940dac61c569506a8883ea2dde54d88

src/widget/mp-track-list.c

index 84e84b8..64e40f6 100644 (file)
@@ -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]) {