From eeb54a5f35d5db88e84aa39bb5bb4b8a776d6fd1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Mar 2009 07:17:14 +0100 Subject: player_thread: don't free music buffer after decoder failure The music_buffer is a global variable, and must not be freed until the player thread exits. --- src/player_thread.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/player_thread.c b/src/player_thread.c index 7205822e9..022e97f0f 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -518,7 +518,6 @@ static void do_play(void) player_stop_decoder(); player_command_finished(); music_pipe_free(player.pipe); - music_buffer_free(player_buffer); return; } -- cgit v1.2.3