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:
ea34395
)
Fix memory Leak: Incorrect deallocator used
78/225778/1
author
himanshu
<h.himanshu@samsung.com>
Mon, 24 Feb 2020 06:36:11 +0000
(12:06 +0530)
committer
himanshu
<h.himanshu@samsung.com>
Mon, 24 Feb 2020 10:01:58 +0000
(15:31 +0530)
The uuid_value should be freed with g_strfreev()
instead of g_free()
Change-Id: Ib9bbadd6e7a0215dd9742be1ce88346c84f2feb9
Signed-off-by: himanshu <h.himanshu@samsung.com>
bt-oal/bluez_hal/src/bt-hal-event-receiver.c
patch
|
blob
|
history
diff --git
a/bt-oal/bluez_hal/src/bt-hal-event-receiver.c
b/bt-oal/bluez_hal/src/bt-hal-event-receiver.c
index
29caf36
..
f763544
100644
(file)
--- a/
bt-oal/bluez_hal/src/bt-hal-event-receiver.c
+++ b/
bt-oal/bluez_hal/src/bt-hal-event-receiver.c
@@
-1825,7
+1825,7
@@
static void __bt_hal_device_properties_lookup(GVariant *result, char *address)
(BT_HAL_STACK_UUID_SIZE * uuid_count),
uuids);
ev->num_props = num_props_tmp + 1;
- g_
free
(uuid_value);
+ g_
strfreev
(uuid_value);
}
g_variant_unref(tmp_value);