From: Avichal Agarwal Date: Thu, 22 Mar 2018 06:27:49 +0000 (+0530) Subject: Svace fix: WGID-319844 'characteristic.handle' doubble free X-Git-Tag: accepted/tizen/unified/20180323.062146^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dd3769949710d79cd2dcd05022cd262510d78ea;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git Svace fix: WGID-319844 'characteristic.handle' doubble free Change-Id: I50c493329672477239fc029ce68c1c8ef7271477 --- diff --git a/bt-api/bt-gatt-client.c b/bt-api/bt-gatt-client.c index dfca5e9..21c7298 100755 --- a/bt-api/bt-gatt-client.c +++ b/bt-api/bt-gatt-client.c @@ -1426,7 +1426,6 @@ static void bluetooth_gatt_get_char_desc_cb(GDBusProxy *proxy, } bluetooth_gatt_free_char_property(&characteristic); - g_free(characteristic.handle); g_variant_iter_free(char_iter); g_variant_unref(value); BT_DBG("-");