Change-Id: Ib1bb16613a744e730a724de0556fbe69e3a72468
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
for (i = 0; i < BT_AUDIO_SOURCE_MAX; i++) {
if (proxy_array[i].avrcp_ctrl_proxy
&& (!memcmp(proxy_array[i].bd_addr.address, bd_addr->address, 6))) {
- char *path = g_dbus_proxy_get_object_path(proxy_array[i].avrcp_ctrl_proxy);
+ const gchar *path = g_dbus_proxy_get_object_path(proxy_array[i].avrcp_ctrl_proxy);
if (!path) {
proxy_array[i].avrcp_ctrl_proxy = NULL;
NULL,
(GAsyncReadyCallback)__le_disconnection_req_cb, gattc_data);
return ret;
-fail:
- if (device_proxy)
- g_object_unref(device_proxy);
-
- g_free(gattc_data);
-
- return ret;
}
/** Disconnect a remote device or cancel a pending connection */
(GAsyncReadyCallback)__le_connection_req_cb, gattc_data);
return ret;
-
-fail:
- if (device_proxy)
- g_object_unref(device_proxy);
-
- g_free(gattc_data);
-
- return ret;
}
static bt_status_t _bt_hold_current_advertising()