[network-manager-openvpn: 5/10] properties: drop useless if() before g_strfreev()



commit 5f07117d697921a2d803bf381cceb3c0fedd383f
Author: Thomas Haller <thaller redhat com>
Date:   Fri Jan 22 15:10:49 2016 +0100

    properties: drop useless if() before g_strfreev()

 properties/import-export.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index 797463d..88e3de4 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -1209,8 +1209,7 @@ out:
                g_object_unref (s_vpn);
 
        g_free (new_contents);
-       if (lines)
-               g_strfreev (lines);
+       g_strfreev (lines);
 
        return connection;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]