projects
/
platform
/
core
/
connectivity
/
libnet-client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca62307
)
Fix memory leak (WGID 185685, 185686)
53/121753/1
accepted/tizen/common/20170329.172452
accepted/tizen/ivi/20170329.222305
accepted/tizen/mobile/20170329.222200
accepted/tizen/tv/20170329.222228
accepted/tizen/unified/20170329.222321
accepted/tizen/wearable/20170329.222243
submit/tizen/20170329.085840
author
chleun.moon
<chleun.moon@samsung.com>
Mon, 27 Mar 2017 01:56:44 +0000
(10:56 +0900)
committer
taesub kim
<taesub.kim@samsung.com>
Wed, 29 Mar 2017 00:47:51 +0000
(09:47 +0900)
Change-Id: I30eb9301bb1af96f95681b280cce73db22197ff6
Signed-off-by: cheoleun <chleun.moon@samsung.com>
src/network-dbus-request.c
patch
|
blob
|
history
diff --git
a/src/network-dbus-request.c
b/src/network-dbus-request.c
index
cdc29d4
..
e00a353
100755
(executable)
--- a/
src/network-dbus-request.c
+++ b/
src/network-dbus-request.c
@@
-1537,6
+1537,7
@@
int _net_dbus_set_profile_ipv4(net_profile_info_t* prof_info, char* profile_name
} else {
NETWORK_LOG(NETWORK_ERROR, "Invalid argument");
+ g_variant_builder_unref(builder);
__NETWORK_FUNC_EXIT__;
return NET_ERR_INVALID_PARAM;
}
@@
-1652,6
+1653,7
@@
int _net_dbus_set_profile_ipv6(net_profile_info_t* prof_info, char* profile_name
prefix_length, prop_gateway, gwaddr6);
} else {
NETWORK_LOG(NETWORK_ERROR, "Invalid argument\n");
+ g_variant_builder_unref(builder);
__NETWORK_FUNC_EXIT__;
return NET_ERR_INVALID_PARAM;
}