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:
dc8ba7d
)
Fix the memory leak
98/236098/1
accepted/tizen/unified/20200616.171014
submit/tizen/20200615.054717
author
injun.yang
<injun.yang@samsung.com>
Fri, 12 Jun 2020 05:12:12 +0000
(14:12 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Mon, 15 Jun 2020 01:25:40 +0000
(10:25 +0900)
Change-Id: I34936645a2f3fa8a3cf3d40207cf5f8c54309394
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
bt-oal/bluez_hal/src/bt-hal-gatt.c
patch
|
blob
|
history
diff --git
a/bt-oal/bluez_hal/src/bt-hal-gatt.c
b/bt-oal/bluez_hal/src/bt-hal-gatt.c
index 2d789e41fef383ae2ad2fac42a6f588d0d94cc71..3032c79c61a7b8fb331243dad122dd49748fe84d 100644
(file)
--- a/
bt-oal/bluez_hal/src/bt-hal-gatt.c
+++ b/
bt-oal/bluez_hal/src/bt-hal-gatt.c
@@
-815,6
+815,7
@@
static void __bt_hal_handle_gatt_client_scan_result(void *buf, uint16_t len)
if (adv_info->adv_type == BT_LE_ADV_DIRECT_IND ||
adv_info->adv_type == BT_LE_ADV_NONCONN_IND) {
__bt_hal_send_le_scan_result_event(adv_info);
+ g_free(adv_info);
} else if (adv_info->adv_type == BT_LE_ADV_IND ||
adv_info->adv_type == BT_LE_ADV_SCAN_IND) {