From 40980e2fcc19d8647778cb868139c0da8a85e6a9 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <PromyLOPh@gmail.com>
Date: Thu, 3 Jul 2008 14:41:17 +0200
Subject: client: Don't destroy playlist when banning song

---
 src/main.c | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'src')

diff --git a/src/main.c b/src/main.c
index 4597e91..2cfc9a6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -417,9 +417,6 @@ int main (int argc, char **argv) {
 							PIANO_RATE_BAN) == PIANO_RET_OK) {
 						BarUiMsg ("Ok.\n");
 						player.doQuit = 1;
-						/* pandora does this too, I think */
-						PianoDestroyPlaylist (&ph);
-						curSong = NULL;
 					} else {
 						BarUiMsg ("Error.\n");
 					}
-- 
cgit v1.2.3