bluez5-util: Free the adapter_path in device_free().
authorpoljar (Damir Jelić) <poljarinho@gmail.com>
Tue, 24 Dec 2013 21:35:40 +0000 (22:35 +0100)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Fri, 3 Jan 2014 11:16:07 +0000 (13:16 +0200)
src/modules/bluetooth/bluez5-util.c

index c7fb6ae..7eecc18 100644 (file)
@@ -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);
 }