summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-10 01:12:12 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-10 01:12:12 +0200
commit9ee6a41491f2cfeccd9d60409598c903c657269c (patch)
treea0fc1fa079d030c3323443fcd1de52dd67863a2f /src
parentf65b276db3881dce35a32b4478b1c44ade098830 (diff)
bluetooth: memory leak, actually free discovery struct itself
Diffstat (limited to 'src')
-rw-r--r--src/modules/bluetooth/bluetooth-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
index 6e4344f7..5c7681d4 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -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) {