OutputThread: close the output plugin after filter failure

Fixes memory leak because ao_plugin_close() never gets called.
This commit is contained in:
Max Kellermann
2014-10-23 23:19:40 +02:00
parent 8fc3768166
commit a7b09d3d1c
2 changed files with 3 additions and 0 deletions

View File

@@ -188,6 +188,7 @@ AudioOutput::Open()
name, plugin.name);
mutex.unlock();
ao_plugin_close(this);
CloseFilter();
mutex.lock();