--- profiles/gatt/gas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/gatt/gas.c b/profiles/gatt/gas.c index 0e82097..e6cddad 100644 --- a/profiles/gatt/gas.c +++ b/profiles/gatt/gas.c @@ -64,6 +64,7 @@ static void gas_free(struct gas *gas) if (gas->attioid) btd_device_remove_attio_callback(gas->device, gas->attioid); + g_attrib_unref(gas->attrib); btd_device_unref(gas->device); g_free(gas); } -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html