summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-03 14:41:17 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-03 15:31:24 +0200
commit40980e2fcc19d8647778cb868139c0da8a85e6a9 (patch)
tree4535ff678727704dac21ce979b4475b85872f005
parentc3cdc31f0d3b2fd3313cba5044e1207adba81048 (diff)
downloadpianobar-40980e2fcc19d8647778cb868139c0da8a85e6a9.tar.gz
pianobar-40980e2fcc19d8647778cb868139c0da8a85e6a9.tar.bz2
pianobar-40980e2fcc19d8647778cb868139c0da8a85e6a9.zip
client: Don't destroy playlist when banning song
-rw-r--r--src/main.c3
1 files changed, 0 insertions, 3 deletions
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");
}