summaryrefslogtreecommitdiff
path: root/src/modules/bluetooth/bluez5-util.c
diff options
context:
space:
mode:
authorpoljar (Damir Jelić) <poljarinho@gmail.com>2013-12-24 22:35:40 +0100
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-01-03 13:16:07 +0200
commitf7afaa264497e98a6f93c483ec10f22d40e17417 (patch)
treea02c624b8db4c85071c2f27d1968dcaf0145f7fa /src/modules/bluetooth/bluez5-util.c
parent3535fd7a076228fdeae3755cf8ac6fdcfa28741d (diff)
bluez5-util: Free the adapter_path in device_free().
Diffstat (limited to 'src/modules/bluetooth/bluez5-util.c')
-rw-r--r--src/modules/bluetooth/bluez5-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c
index c7fb6ae5a..7eecc1889 100644
--- a/src/modules/bluetooth/bluez5-util.c
+++ b/src/modules/bluetooth/bluez5-util.c
@@ -424,6 +424,7 @@ static void device_free(pa_bluetooth_device *d) {
pa_xfree(d->path);
pa_xfree(d->alias);
pa_xfree(d->address);
+ pa_xfree(d->adapter_path);
pa_xfree(d);
}