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 coverity issues - Resource leaks
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-api
/
bt-event-handler.c
diff --git
a/bt-api/bt-event-handler.c
b/bt-api/bt-event-handler.c
index
afe92d5
..
913563e
100644
(file)
--- a/
bt-api/bt-event-handler.c
+++ b/
bt-api/bt-event-handler.c
@@
-506,6
+506,7
@@
void __bt_adapter_event_filter(GDBusConnection *connection,
event_info->cb, event_info->user_data);
g_slist_free(data->atm_list);
g_free(data);
+ g_array_free(dbus_data, TRUE);
} else if (strcasecmp(signal_name, BT_DISCOVERABLE_MODE_CHANGED) == 0) {
int mode = 0;