summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-27 16:06:57 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-27 16:06:57 +0100
commit1522d68ba866d47e0d9c12bc4df28d7e71407705 (patch)
tree18a82f08a0ae55445feb8849cd554096a3c106f2 /main.c
parent94dd735f3c45b43ca00eaba4f22ef8440259e142 (diff)
fixed a bunch of minor compiler warnings and alsa hang on exit
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index d4a50636..33f5f22c 100644
--- a/main.c
+++ b/main.c
@@ -548,8 +548,9 @@ main (int argc, char *argv[]) {
// stop receiving messages from outside
server_close ();
- // stop streaming before unloading plugins
+ // stop streaming and playback before unloading plugins
p_stop ();
+ p_free ();
streamer_free ();
// plugins might still hood references to playitems,