From 070b142a3a51889e6ab02bf764cb592a608e91a2 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Mon, 28 Dec 2015 13:48:08 +0900 Subject: [PATCH] [WGID-11058] Fix the Svace issue Change-Id: I81fe0d6f3d1389163da1cf42b10672f2a2f302c6 Signed-off-by: Seonah Moon --- packaging/net-config.spec | 2 +- src/wifi-config.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/net-config.spec b/packaging/net-config.spec index 3afb4a2..56f635c 100755 --- a/packaging/net-config.spec +++ b/packaging/net-config.spec @@ -1,6 +1,6 @@ Name: net-config Summary: TIZEN Network Configuration service -Version: 1.1.49 +Version: 1.1.50 Release: 2 Group: System/Network License: Apache-2.0 diff --git a/src/wifi-config.c b/src/wifi-config.c index 3c5963c..751c3b5 100755 --- a/src/wifi-config.c +++ b/src/wifi-config.c @@ -593,6 +593,10 @@ gboolean handle_get_config_ids(Wifi *wifi, GDBusMethodInvocation *context) g_slist_free_full(config_ids, g_free); wifi_complete_get_config_ids(wifi, context, (const gchar * const*)result); + + if (result) + g_free(result); + return TRUE; } -- 2.7.4