From: Sameer Kumar Date: Mon, 29 Jul 2024 11:41:19 +0000 (+0530) Subject: This patch fixes SVACE issue. X-Git-Tag: accepted/tizen/unified/20240910.112411^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=platform%2Fupstream%2Fbluez.git This patch fixes SVACE issue. Issue ID: 224707 Change-Id: I15d9a20830d2b76214e8847869673715e2c29c34 Signed-off-by: Sameer Kumar --- diff --git a/src/gatt-client.c b/src/gatt-client.c index ca92f26..5b06938 100644 --- a/src/gatt-client.c +++ b/src/gatt-client.c @@ -1471,7 +1471,7 @@ static void notify_client_free(struct notify_client *client) client->notify_id); #ifdef TIZEN_FEATURE_BLUEZ_MODIFY - if (client->chrc->notify_io->data == client) + if (client->chrc->notify_io && client->chrc->notify_io->data == client) client->chrc->notify_io->data = NULL; #endif free(client->owner);