From a7b09d3d1ce3ada362c765217633f4da9c36ce63 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Oct 2014 23:19:40 +0200 Subject: OutputThread: close the output plugin after filter failure Fixes memory leak because ao_plugin_close() never gets called. --- src/output/OutputThread.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(); -- cgit v1.2.3