Commit a7b09d3d authored by Max Kellermann's avatar Max Kellermann

OutputThread: close the output plugin after filter failure

Fixes memory leak because ao_plugin_close() never gets called.
parent 8fc37681
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)
......
......@@ -188,6 +188,7 @@ AudioOutput::Open()
name, plugin.name);
mutex.unlock();
ao_plugin_close(this);
CloseFilter();
mutex.lock();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment