bluetooth: memory leak, actually free discovery struct itself

This commit is contained in:
Lennart Poettering 2009-04-10 01:12:12 +02:00
parent f65b276db3
commit 9ee6a41491

View file

@ -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) {