From: John Janus Date: Sat, 23 Sep 2017 15:40:55 +0000 (+0200) Subject: delete fifo X-Git-Url: https://git.johnzone.org/?a=commitdiff_plain;h=354306c15294e2bcc83c4f080ba15db44775f36e;p=FakeRadio.git delete fifo --- diff --git a/mp3player.c b/mp3player.c index c12ee3e..08e1632 100644 --- a/mp3player.c +++ b/mp3player.c @@ -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);