if (ret != BLUETOOTH_ERROR_NONE) {
BT_ERR("_bt_connect_profile Error");
- g_free(func_data->address);
- g_free(func_data);
return ret;
}
return BLUETOOTH_ERROR_NONE;
if (ret != BLUETOOTH_ERROR_NONE) {
BT_ERR("_bt_disconnect_profile Error");
- g_free(func_data->address);
- g_free(func_data);
return ret;
}
return BLUETOOTH_ERROR_NONE;
}
-