diff options
author | Max Kellermann <max@duempel.org> | 2009-03-10 07:17:14 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-10 07:17:14 +0100 |
commit | eeb54a5f35d5db88e84aa39bb5bb4b8a776d6fd1 (patch) | |
tree | 770e74034af533b268ff61ecd15abc65d03d9a77 /src | |
parent | 3291666b570b1d20f59db42936eaa37dbeb9ca65 (diff) | |
download | mpd-eeb54a5f35d5db88e84aa39bb5bb4b8a776d6fd1.tar.gz mpd-eeb54a5f35d5db88e84aa39bb5bb4b8a776d6fd1.tar.xz mpd-eeb54a5f35d5db88e84aa39bb5bb4b8a776d6fd1.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/player_thread.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |