aboutsummaryrefslogtreecommitdiff
path: root/src/util/program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/program.c')
-rw-r--r--src/util/program.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/program.c b/src/util/program.c
index a8724c4ee..3f8708f7d 100644
--- a/src/util/program.c
+++ b/src/util/program.c
@@ -269,12 +269,11 @@ GNUNET_PROGRAM_run2 (int argc, char *const *argv, const char *binaryName,
269 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 269 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
270 _("Could not access configuration file `%s'\n"), 270 _("Could not access configuration file `%s'\n"),
271 cc.cfgfile); 271 cc.cfgfile);
272 GNUNET_free (cc.cfgfile);
273 cc.cfgfile = NULL;
274 if (GNUNET_SYSERR == GNUNET_CONFIGURATION_load (cfg, NULL)) 272 if (GNUNET_SYSERR == GNUNET_CONFIGURATION_load (cfg, NULL))
275 { 273 {
276 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 274 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
277 _("Malformed configuration, exit ...\n")); 275 _("Malformed configuration, exit ...\n"));
276 GNUNET_free (cc.cfgfile);
278 return GNUNET_SYSERR; 277 return GNUNET_SYSERR;
279 } 278 }
280 } 279 }