Fix a svace for memory leak 63/101663/1 accepted/tizen/3.0/common/20161205.092029 accepted/tizen/3.0/ivi/20161205.000254 accepted/tizen/3.0/mobile/20161205.000204 accepted/tizen/3.0/tv/20161205.000228 accepted/tizen/3.0/wearable/20161205.000242 submit/tizen_3.0/20161202.115309
authorhyunuktak <hyunuk.tak@samsung.com>
Fri, 2 Dec 2016 02:16:56 +0000 (11:16 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Fri, 2 Dec 2016 02:16:59 +0000 (11:16 +0900)
Change-Id: I11ee52cf8d380880d3eb5e456a9f6cd4d536648a
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/net-config.spec
src/wifi-config.c

index 87b167e..b3b5b00 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          net-config
 Summary:       TIZEN Network Configuration service
-Version:       1.1.94
+Version:       1.1.95
 Release:       2
 Group:         System/Network
 License:       Apache-2.0
index 1c590dd..9a910e8 100755 (executable)
@@ -217,9 +217,10 @@ static GKeyFile *__get_configuration_keyfile(const gchar *group_name)
        keyfile = netconfig_keyfile_load(path);
        if (keyfile == NULL) {
                ERR("keyfile[%s] is NULL", path);
-               g_free(path);
        }
 
+       g_free(path);
+
        return keyfile;
 }