Diff between 946135510799ce51f34b188fcd9fcaf0c2186827 and 977ada52333e16641f8272a6d5233cb0104cd00a
Changed Files
| File | Additions | Deletions | Status |
| profiles/gatt/gas.c | +1 | -0 | modified |
Full Patch
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);
}