Commit eeb54a5f authored by Max Kellermann's avatar Max Kellermann

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.
parent 3291666b
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment