projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15d7a13
)
[bluetooth] fix missed delete
author
pius.lee
<pius.lee@samsung.com>
Wed, 3 Jun 2015 13:33:20 +0000
(22:33 +0900)
committer
pius.lee
<pius.lee@samsung.com>
Fri, 5 Jun 2015 02:10:24 +0000
(11:10 +0900)
Change-Id: Ie9974d16b0cdb54efbbe0120c1bde38e793706f9
src/bluetooth/bluetooth_gatt_service.cc
patch
|
blob
|
history
diff --git
a/src/bluetooth/bluetooth_gatt_service.cc
b/src/bluetooth/bluetooth_gatt_service.cc
index
5f79f74
..
2995fcd
100755
(executable)
--- a/
src/bluetooth/bluetooth_gatt_service.cc
+++ b/
src/bluetooth/bluetooth_gatt_service.cc
@@
-366,6
+366,7
@@
void BluetoothGATTService::ReadValue(const picojson::value& args,
int ret = bt_gatt_client_read_value(handle, read_value, (void*)user_data);
if (BT_ERROR_NONE != ret) {
LOGE("Couldn't register callback for read value");
+ delete user_data;
}
ReportSuccess(out);
}