aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-02 18:19:11 +0100
committerMax Kellermann <max@duempel.org>2009-02-02 18:19:11 +0100
commit7a3628e797e1c86e1aa15f8211e090ad8ef1feb0 (patch)
tree1328436c9b4924ec2a853f38d25285e0985da0a6 /NEWS
parent39f01632009e11a728afe440e58332b88490ba47 (diff)
downloadmpd-7a3628e797e1c86e1aa15f8211e090ad8ef1feb0.tar.gz
mpd-7a3628e797e1c86e1aa15f8211e090ad8ef1feb0.tar.xz
mpd-7a3628e797e1c86e1aa15f8211e090ad8ef1feb0.zip
shout_mp3: call lame_close() in clear_encoder() method
The shout_mp3 encoder had two bugs: when no song was ever played, MPD segfaulted during cleanup. Second bug: memory leak, each time the shout device was opened, lame_init() was called again, and lame_close() is only called once during shutdown. Fix this by shutting down LAME each time the clear_encoder() method is called.
Diffstat (limited to '')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 36e8789df..c68a9189e 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ ver 0.14.2 (2009/??/??)
- jack: allocate ring buffers before connecting
- jack: clear "shutdown" flag on reconnect
- jack: reduced sleep time to 1ms
+ - shout: fixed memory leak in the mp3 encoder
* mapper: remove trailing slashes from music_directory
* player: set player error when output device fails