aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--src/output/OutputThread.cxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b34598ee9..789453005 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
ver 0.19.2 (not yet released)
+* output
+ - fix memory leak after filter initialization error
* fix assertion failure on unsupported PCM conversion
ver 0.19.1 (2014/10/19)
diff --git a/src/output/OutputThread.cxx b/src/output/OutputThread.cxx
index d26b2da67..54664bb65 100644
--- a/src/output/OutputThread.cxx
+++ b/src/output/OutputThread.cxx
@@ -188,6 +188,7 @@ AudioOutput::Open()
name, plugin.name);
mutex.unlock();
+ ao_plugin_close(this);
CloseFilter();
mutex.lock();