From a465628f7675be01c4ecd5ddfed26475ee66f29a Mon Sep 17 00:00:00 2001 From: Sameer Kumar Date: Mon, 29 Jul 2024 17:11:19 +0530 Subject: [PATCH] This patch fixes SVACE issue. Issue ID: 224707 Change-Id: I15d9a20830d2b76214e8847869673715e2c29c34 Signed-off-by: Sameer Kumar --- src/gatt-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4