mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
bluetooth: memory leak, actually free discovery struct itself
This commit is contained in:
parent
f65b276db3
commit
9ee6a41491
1 changed files with 2 additions and 0 deletions
|
|
@ -773,6 +773,8 @@ void pa_bluetooth_discovery_unref(pa_bluetooth_discovery *y) {
|
|||
|
||||
if (y->core)
|
||||
pa_shared_remove(y->core, "bluetooth-discovery");
|
||||
|
||||
pa_xfree(y);
|
||||
}
|
||||
|
||||
void pa_bluetooth_discovery_sync(pa_bluetooth_discovery *y) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue