summaryrefslogtreecommitdiff
path: root/libpiano
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-10 10:35:54 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-10 10:35:54 +0200
commitc92cbed15b69d823637fb565fefeb6acc3ce178e (patch)
tree499039436f0187697a7409d011a8879e5c097e44 /libpiano
parent112528c8abaf712e2db0f8aef6b7d64b52281127 (diff)
downloadpianobar-windows-c92cbed15b69d823637fb565fefeb6acc3ce178e.tar.gz
pianobar-windows-c92cbed15b69d823637fb565fefeb6acc3ce178e.tar.bz2
pianobar-windows-c92cbed15b69d823637fb565fefeb6acc3ce178e.zip
fix love and ban
Diffstat (limited to 'libpiano')
-rw-r--r--libpiano/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpiano/main.c b/libpiano/main.c
index 185d94c..0a14311 100644
--- a/libpiano/main.c
+++ b/libpiano/main.c
@@ -68,6 +68,7 @@ void PianoDestroyStations (PianoHandle_t *ph) {
memset (lastStation, 0, sizeof (*lastStation));
free (lastStation);
}
+ ph->stations = NULL;
}
/* FIXME: copy & waste */
@@ -94,6 +95,7 @@ void PianoDestroyPlaylist (PianoHandle_t *ph) {
memset (lastSong, 0, sizeof (*lastSong));
free (lastSong);
}
+ ph->playlist = NULL;
}
/* frees the whole piano handle structure