gatt-client: Fix use-after-free crash issue 82/319182/1 accepted/tizen/7.0/unified/20241018.012942
authorWootak Jung <wootak.jung@samsung.com>
Thu, 17 Oct 2024 01:53:42 +0000 (10:53 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 17 Oct 2024 01:53:42 +0000 (10:53 +0900)
Change-Id: I4385d6332f0fac3cba33d4a07f410f7d78a81618
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/gatt-client.c

index 6d8025316b09b61b3011f51521384c5380f5df8d..0ab1fa95ebf595d4f6bfd62f7a0e3dfbf4fb8c0f 100644 (file)
@@ -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)