PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
c0ad3efc by Igor V. Kovalenko at 2021-10-22T09:18:01+03: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>

- - - - -


1 changed file:

- src/modules/bluetooth/bluez5-util.c


Changes:

=====================================
src/modules/bluetooth/bluez5-util.c
=====================================
@@ -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);



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/c0ad3efc18a615ce710450b4b66146c45873eb98

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/c0ad3efc18a615ce710450b4b66146c45873eb98
You're receiving this email because of your account on gitlab.freedesktop.org.


Reply via email to