Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
773:e25b8a348ebd | 774:46304b773a44 |
---|---|
219 cmd_init(); | 219 cmd_init(); |
220 | 220 |
221 /* Parsing config file... */ | 221 /* Parsing config file... */ |
222 ret = cfg_read_file(configFile); | 222 ret = cfg_read_file(configFile); |
223 /* free() configFile if it has been allocated during options parsing */ | 223 /* free() configFile if it has been allocated during options parsing */ |
224 if (configFile) g_free(configFile); | 224 g_free(configFile); |
225 /* Leave if there was an error in the config. file */ | 225 /* Leave if there was an error in the config. file */ |
226 if (ret) | 226 if (ret) |
227 exit(EXIT_FAILURE); | 227 exit(EXIT_FAILURE); |
228 | 228 |
229 optstring = settings_opt_get("tracelog_file"); | 229 optstring = settings_opt_get("tracelog_file"); |