/*
- * Bluetooth-frwk
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hocheol Seo <hocheol.seo@samsung.com>
- * Girishashok Joshi <girish.joshi@samsung.com>
- * Chanyeol Park <chanyeol.park@samsung.com>
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
GDBusProxy *proxy;
GError *err = NULL;
- g_type_init();
-
service_gconn = _bt_gdbus_get_system_gconn();
if (!service_gconn)
case BT_AV_SOURCE_DISCONNECT:
*event_type = BT_A2DP_SOURCE_EVENT;
*event = BLUETOOTH_EVENT_AV_SOURCE_DISCONNECTED;
- ret_if (output == NULL);
- *param_data = &g_array_index (output, char, 0);
+ ret_if(output == NULL);
+ *param_data = &g_array_index(output, char, 0);
break;
case BT_HF_CONNECT:
*event_type = BT_HF_AGENT_EVENT;
g_array_free(in_param5, TRUE);
break;
+ default:
+ g_free(cb_data);
+ break;
}
return BLUETOOTH_ERROR_NONE;