diff mcabber/src/main.c @ 774:46304b773a44

Remove useless checks before g_free() calls
author Mikael Berthe <mikael@lilotux.net>
date Sat, 25 Mar 2006 18:16:10 +0100
parents 464be13343a9
children e6d42f239541
line wrap: on
line diff
--- a/mcabber/src/main.c	Sat Mar 25 18:14:37 2006 +0100
+++ b/mcabber/src/main.c	Sat Mar 25 18:16:10 2006 +0100
@@ -221,7 +221,7 @@
   /* Parsing config file... */
   ret = cfg_read_file(configFile);
   /* free() configFile if it has been allocated during options parsing */
-  if (configFile) g_free(configFile);
+  g_free(configFile);
   /* Leave if there was an error in the config. file */
   if (ret)
     exit(EXIT_FAILURE);