mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
bluetooth: Release container with device UUID strings
Stop leaking container with UUID strings when releasing adapter.
Fixes: 4b55b8a9d ("bluetooth: Keep a list of local adapters' UUIDs")
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/652>
This commit is contained in:
parent
44ac675a8b
commit
c0ad3efc18
1 changed files with 1 additions and 0 deletions
|
|
@ -1491,6 +1491,7 @@ static void adapter_free(pa_bluetooth_adapter *a) {
|
|||
if (d->adapter == a)
|
||||
device_set_adapter(d, NULL);
|
||||
|
||||
pa_hashmap_free(a->uuids);
|
||||
pa_xfree(a->path);
|
||||
pa_xfree(a->address);
|
||||
pa_xfree(a);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue