summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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,