]> Johnzone git - FakeRadio.git/commitdiff
delete fifo
authorJohn Janus <mail@johnzone.org>
Sat, 23 Sep 2017 15:40:55 +0000 (17:40 +0200)
committerJohn Janus <mail@johnzone.org>
Sat, 23 Sep 2017 15:40:55 +0000 (17:40 +0200)
mp3player.c

index c12ee3ecead4b242c5677c7cd170afdf41a70401..08e16328fa37fe93d326025080b4ebbcd73041ee 100644 (file)
@@ -31,6 +31,7 @@ static void cleanupThread(void* arg)
     free(mem->buffer);
     pthread_cancel(mem->decode_thread);
     pthread_join(mem->decode_thread, NULL);
+    delete_fifo(mem->queue);
     ao_close(mem->aodev);
     mpg123_close(mem->mh);
     mpg123_delete(mem->mh);