Fix mem leak.
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-emul / bt-service-hid.c
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *              http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 #include <glib.h>
19 #include <string.h>
20 #include "bluetooth-api.h"
21
22 #include "bt-service-common.h"
23 #include "bt-service-hid.h"
24 #include "bt-service-event.h"
25 #include "bt-service-util.h"
26
27 /**********************************************************************
28 *                               HID APIs                              *
29 ***********************************************************************/
30
31 int _bt_hid_connect(int request_id,
32                 bluetooth_device_address_t *device_address)
33 {
34         BT_CHECK_PARAMETER(device_address, return);
35
36         return BLUETOOTH_ERROR_NOT_SUPPORT;
37 }
38
39 int _bt_hid_disconnect(int request_id,
40                 bluetooth_device_address_t *device_address)
41 {
42         BT_CHECK_PARAMETER(device_address, return);
43
44         return BLUETOOTH_ERROR_NOT_SUPPORT;
45 }