projects
/
platform
/
core
/
connectivity
/
wifi-mesh-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e14a9c
)
Fix memory leak in wmesh_gdbus_create_network()
16/164416/2
author
Taesoo Jun
<steve.jun@samsung.com>
Tue, 19 Dec 2017 05:06:11 +0000
(14:06 +0900)
committer
saerome.kim
<saerome.kim@samsung.com>
Tue, 19 Dec 2017 05:20:40 +0000
(14:20 +0900)
Change-Id: I3a6cafa6876df9af345830669dce00b5884b529c
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
src/wmesh-gdbus.c
patch
|
blob
|
history
diff --git
a/src/wmesh-gdbus.c
b/src/wmesh-gdbus.c
index
2b25c5b
..
96f3557
100755
(executable)
--- a/
src/wmesh-gdbus.c
+++ b/
src/wmesh-gdbus.c
@@
-1077,6
+1077,7
@@
int wmesh_gdbus_create_network(wmesh_service *service, gchar *mesh_id,
g_variant_new("(sv)", "MeshCreateNetwork", var_dict),
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, &error);
+ g_variant_builder_unref(&builder);
if (variant) {
WMESH_LOGD("Successfully requested. [MeshCreateNetwork]");
} else if (error) {