projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the advertisement fail issue
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-api
/
bt-network.c
diff --git
a/bt-api/bt-network.c
b/bt-api/bt-network.c
index
c8256ec
..
43453cd
100644
(file)
--- a/
bt-api/bt-network.c
+++ b/
bt-api/bt-network.c
@@
-112,6
+112,7
@@
BT_EXPORT_API int bluetooth_network_connect(const bluetooth_device_address_t *de
if (dev_class.major_class == BLUETOOTH_DEVICE_MAJOR_CLASS_COMPUTER) {
BT_ERR("Reject a authorization due to MDM Policy");
+ g_free(uuid);
return BLUETOOTH_ERROR_DEVICE_POLICY_RESTRICTION;
}
}