diff options
author | Max Kellermann <max@duempel.org> | 2009-02-10 22:07:59 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-10 22:07:59 +0100 |
commit | bd8ecba4495d0de223e07a0a22600c8da03a2211 (patch) | |
tree | 311352c3711e7a872f40c0c05b46fe2623d51296 /src/song_print.c | |
parent | 61e30759812e6996eb02bacf58607ec53cb0f577 (diff) | |
download | mpd-bd8ecba4495d0de223e07a0a22600c8da03a2211.tar.gz mpd-bd8ecba4495d0de223e07a0a22600c8da03a2211.tar.xz mpd-bd8ecba4495d0de223e07a0a22600c8da03a2211.zip |
output_thread: consistently (de)initialize pcm_convert_state
Fix a memory leak: it was not guaranteed that pcm_convert_deinit() was
called for each pcm_convert_init(). This patch always (de)initializes
the pcm_convert library when the audio_output.open flag is flipped.
Diffstat (limited to 'src/song_print.c')
0 files changed, 0 insertions, 0 deletions