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:
5a4d3c3
)
Fix coverty issues in gatt
64/224864/1
author
Sudipto
<sudipto.bal@samsung.com>
Thu, 13 Feb 2020 13:13:42 +0000
(18:43 +0530)
committer
Sudipto
<sudipto.bal@samsung.com>
Thu, 13 Feb 2020 13:13:42 +0000
(18:43 +0530)
Change-Id: If60ddc47a87c93883d79be1e4e73080f923c70ca
Signed-off-by: Sudipto <sudipto.bal@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
a476088
..
15fed96
100644
(file)
--- a/
bt-oal/bluez_hal/src/bt-hal-gatt.c
+++ b/
bt-oal/bluez_hal/src/bt-hal-gatt.c
@@
-788,6
+788,7
@@
static void __bt_hal_handle_gatt_client_scan_result(void *buf, uint16_t len)
adv_info = g_malloc0(sizeof(bt_hal_le_adv_info_t));
if (!adv_info) {
ERR("Not enough memory");
+ g_free(adv_info);
return;
}