projects
/
platform
/
core
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0687574
)
Fix memory leak in _bt_hrp_collector_bsl_read_completed_cb
70/188270/1
author
Taesoo Jun
<steve.jun@samsung.com>
Mon, 3 Sep 2018 10:52:40 +0000
(19:52 +0900)
committer
Taesoo Jun
<steve.jun@samsung.com>
Mon, 3 Sep 2018 10:52:40 +0000
(19:52 +0900)
Change-Id: I24fbb030f404a25fa4553624fe410c52c60207b3
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
src/bluetooth-hrp.c
patch
|
blob
|
history
diff --git
a/src/bluetooth-hrp.c
b/src/bluetooth-hrp.c
index
749c43c
..
2639d33
100644
(file)
--- a/
src/bluetooth-hrp.c
+++ b/
src/bluetooth-hrp.c
@@
-923,6
+923,7
@@
static void _bt_hrp_collector_bsl_read_completed_cb (int result, bt_hrp_collecto
if (collector_s->bsl_read_cb)
collector_s->bsl_read_cb(result, collector, (bt_body_sensor_location_e) *value, user_data);
+ g_free(value);
}
static bt_hrp_collector_s *_bt_hrp_collector_find(const char *remote_address)