build: removed g_free() for support multi profile 26/41926/2
authorJinhyung Choi <jinhyung2.choi@samsung.com>
Fri, 19 Jun 2015 07:02:22 +0000 (16:02 +0900)
committerJinhyung Choi <jinhyung2.choi@samsung.com>
Fri, 19 Jun 2015 07:04:06 +0000 (16:04 +0900)
Change-Id: I0d9f1277c5605ca06db9cb4fb649a9ea92ffa17f
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
src/net.cpp

index 76a0ae1237e17c7d3c37244a698c3428bc28b316..a5505fafe90403d04c27ade5e778e43a265648e6 100644 (file)
@@ -146,13 +146,13 @@ static bool get_profile()
 
         if (connection_profile_get_type(profile_h, &profile_type) != CONNECTION_ERROR_NONE) {
             LOGERR("Fail to get profile type");
-            g_free(profile_name);
+            free(profile_name);
             return false;
         }
 
         if (connection_profile_get_state(profile_h, &profile_state) != CONNECTION_ERROR_NONE) {
             LOGERR("Fail to get profile state");
-            g_free(profile_name);
+            free(profile_name);
             return false;
         }