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:
1406fc6
)
Fix memory leak in dbus_wifi_set_autoconnect()
75/163675/1
author
Taesoo Jun
<steve.jun@samsung.com>
Wed, 13 Dec 2017 01:38:48 +0000
(10:38 +0900)
committer
Taesoo Jun
<steve.jun@samsung.com>
Wed, 13 Dec 2017 01:39:45 +0000
(
01:39
+0000)
Change-Id: I7527c230fe6384f2f7f96778b93db086d03ce529
src/network_dbus.c
patch
|
blob
|
history
diff --git
a/src/network_dbus.c
b/src/network_dbus.c
index d3e3184e8624159ca33eb680b856e4047be09556..b316859ae9debda107ee4b49b4b41fb879e66fb2 100755
(executable)
--- a/
src/network_dbus.c
+++ b/
src/network_dbus.c
@@
-2192,6
+2192,7
@@
int _net_dbus_wifi_set_autoconnect(const char *profile_name, gboolean autoconnec
"SetProperty", params, &Error);
if (message == NULL) {
WIFI_LOG(WIFI_ERROR, "Failed to Set AutoConnect");
+ g_variant_unref(param0);
__NETWORK_FUNC_EXIT__;
return Error;
}