From: Anuj Bhumiya Date: Fri, 30 Jul 2021 03:51:23 +0000 (+0530) Subject: Native TCT fix for HDP X-Git-Tag: submit/tizen/20210730.080510^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae553563f939a1bdef1d57572b09e3d60ef8ccc6;p=platform%2Fcore%2Fapi%2Fbluetooth.git Native TCT fix for HDP The app handle is already freeing at the time of deregistration so no need to free it at registration time. Change-Id: I0fe1cf3a2f99dfae4e7a846f4b1aa6afb70b2aff Signed-off-by: Anuj Bhumiya --- diff --git a/src/bluetooth-hdp.c b/src/bluetooth-hdp.c index dc6f18c..cefefa3 100644 --- a/src/bluetooth-hdp.c +++ b/src/bluetooth-hdp.c @@ -46,7 +46,6 @@ int bt_hdp_register_sink_app(unsigned short data_type, char **app_id) } *app_id = strdup(app_handle); - g_free(app_handle); if (*app_id == NULL) return BT_ERROR_OUT_OF_MEMORY;