From: Wootak Jung Date: Thu, 17 Oct 2024 01:53:42 +0000 (+0900) Subject: gatt-client: Fix use-after-free crash issue X-Git-Tag: accepted/tizen/7.0/unified/20241018.012942^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb1a931dec2f98062a32faeefe48c46b871e2cd7;p=platform%2Fupstream%2Fbluez.git gatt-client: Fix use-after-free crash issue Change-Id: I4385d6332f0fac3cba33d4a07f410f7d78a81618 Signed-off-by: Wootak Jung --- diff --git a/src/gatt-client.c b/src/gatt-client.c index 6d802531..0ab1fa95 100644 --- a/src/gatt-client.c +++ b/src/gatt-client.c @@ -2067,9 +2067,6 @@ static void characteristic_free(void *data) } queue_destroy(chrc->notify_clients, remove_client); -#ifdef TIZEN_FEATURE_BLUEZ_MODIFY - DBG("Destroyed notify_clients. length: %d", queue_length(chrc->notify_clients)); -#endif att = bt_gatt_client_get_att(gatt); if (att)