projects
/
platform
/
core
/
api
/
wifi-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f79bbb
)
Fix resource leak in close connection reply handler
35/265035/1
author
Nishant Chaprana
<n.chaprana@samsung.com>
Wed, 6 Oct 2021 11:03:11 +0000
(16:33 +0530)
committer
Nishant Chaprana
<n.chaprana@samsung.com>
Wed, 6 Oct 2021 11:03:11 +0000
(16:33 +0530)
Change-Id: I6052bdd059c6b4e65354531d63f05bcd41a50496
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
src/network_dbus.c
patch
|
blob
|
history
diff --git
a/src/network_dbus.c
b/src/network_dbus.c
index
fcb3c4d
..
242cc75
100644
(file)
--- a/
src/network_dbus.c
+++ b/
src/network_dbus.c
@@
-523,6
+523,7
@@
static void __net_close_connection_reply(GObject *source_object, GAsyncResult *r
WIFI_LOG(WIFI_INFO, "Sending NET_EVENT_CLOSE_RSP Error[%s]",
_net_print_error(event_data->Error));
} else {
+ g_free(event_data);
__NETWORK_FUNC_EXIT__;
return;
}