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.
This commit is contained in:
Max Kellermann 2009-03-10 07:17:14 +01:00
parent 3291666b57
commit eeb54a5f35
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}