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
Resolve memory leak in bt-service-adaptation
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-service-adaptation
/
services
/
ipsp
/
bt-service-ipsp-event-receiver.c
diff --git
a/bt-service-adaptation/services/ipsp/bt-service-ipsp-event-receiver.c
b/bt-service-adaptation/services/ipsp/bt-service-ipsp-event-receiver.c
index
1fd52f5
..
51629b9
100644
(file)
--- a/
bt-service-adaptation/services/ipsp/bt-service-ipsp-event-receiver.c
+++ b/
bt-service-adaptation/services/ipsp/bt-service-ipsp-event-receiver.c
@@
-80,7
+80,7
@@
static void __bt_device_property_changed_event(GVariant *msg, const char *path)
} else if (strcasecmp(property, "IpspBtInterfaceInfo") == 0) {
char *ifname = NULL;
- g_variant_get(val, "s", &ifname);
+ g_variant_get(val, "
&
s", &ifname);
address = g_malloc0(BT_ADDRESS_STRING_SIZE);