mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
echo-cancel: Close debug files on module unload
This commit is contained in:
parent
8a5e6e8356
commit
7b13a79959
1 changed files with 9 additions and 0 deletions
|
|
@ -1723,5 +1723,14 @@ void pa__done(pa_module*m) {
|
|||
if (u->asyncmsgq)
|
||||
pa_asyncmsgq_unref(u->asyncmsgq);
|
||||
|
||||
if (u->save_aec) {
|
||||
if (u->played_file)
|
||||
fclose(u->played_file);
|
||||
if (u->captured_file)
|
||||
fclose(u->captured_file);
|
||||
if (u->canceled_file)
|
||||
fclose(u->canceled_file);
|
||||
}
|
||||
|
||||
pa_xfree(u);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue