projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccb8c3d
)
Fix the memory leak
21/255321/1
accepted/tizen/unified/20210317.115839
submit/tizen/20210316.231924
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Tue, 16 Mar 2021 23:42:31 +0000
(08:42 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Tue, 16 Mar 2021 23:42:31 +0000
(08:42 +0900)
Change-Id: I95cc117fbc4ac314712f9e1e60e23d5cafd7e4ba
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-oal/bluez_hal/src/bt-hal-gatt-server.c
patch
|
blob
|
history
diff --git
a/bt-oal/bluez_hal/src/bt-hal-gatt-server.c
b/bt-oal/bluez_hal/src/bt-hal-gatt-server.c
index
05f20de
..
776a4d6
100644
(file)
--- a/
bt-oal/bluez_hal/src/bt-hal-gatt-server.c
+++ b/
bt-oal/bluez_hal/src/bt-hal-gatt-server.c
@@
-2803,6
+2803,7
@@
static bt_status_t gatt_server_add_descriptor(int slot, int service_handle, bt_u
desc_handle = __bt_hal_assign_gatt_handle(BT_GATT_TYPE_DESC);
if (desc_handle == -1) {
ERR("Too many gatt desc handles are created");
+ g_free(serv_path);
return BT_STATUS_FAIL;
}