mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
device-manager: Fix a memory leak.
This commit is contained in:
parent
2f7a586a23
commit
191d60688d
1 changed files with 2 additions and 0 deletions
|
|
@ -1443,6 +1443,8 @@ static int extension_cb(pa_native_protocol *p, pa_module *m, pa_native_connectio
|
||||||
pa_xfree(devices[i]);
|
pa_xfree(devices[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pa_xfree(devices);
|
||||||
|
|
||||||
if (!first) {
|
if (!first) {
|
||||||
trigger_save(u);
|
trigger_save(u);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue