diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gatt-example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gatt-example.c b/plugins/gatt-example.c index b92694773..9b4187a5a 100644 --- a/plugins/gatt-example.c +++ b/plugins/gatt-example.c @@ -72,7 +72,7 @@ static void gatt_example_adapter_free(struct gatt_example_adapter *gadapter) while (gadapter->sdp_handles != NULL) { uint32_t handle = GPOINTER_TO_UINT(gadapter->sdp_handles->data); - attrib_free_sdp(handle); + attrib_free_sdp(gadapter->adapter, handle); gadapter->sdp_handles = g_slist_remove(gadapter->sdp_handles, gadapter->sdp_handles->data); } |