From 204f39c855a62d6b9239716eec4a37fb81fcd624 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 27 Nov 2011 12:49:46 +0100 Subject: fixed clearing playqueue on exit --- playlist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'playlist.c') diff --git a/playlist.c b/playlist.c index 5b950cc1..fc1cd4bb 100644 --- a/playlist.c +++ b/playlist.c @@ -3569,6 +3569,7 @@ pl_playqueue_clear (void) { } for (i = 0; i < cnt; i++) { pl_item_unref (playqueue[i]); + playqueue[i] = NULL; } UNLOCK; } -- cgit v1.2.3