OutputThread: close the output plugin after filter failure
Fixes memory leak because ao_plugin_close() never gets called.
This commit is contained in:
parent
8fc3768166
commit
a7b09d3d1c
2
NEWS
2
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)
|
||||
|
|
|
@ -188,6 +188,7 @@ AudioOutput::Open()
|
|||
name, plugin.name);
|
||||
|
||||
mutex.unlock();
|
||||
ao_plugin_close(this);
|
||||
CloseFilter();
|
||||
mutex.lock();
|
||||
|
||||
|
|
Loading…
Reference in New Issue