fix
authorChristian Grothoff <christian@grothoff.org>
Sat, 17 Sep 2011 20:03:20 +0000 (20:03 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 17 Sep 2011 20:03:20 +0000 (20:03 +0000)
src/util/program.c

index 2dec8f1bf104230a0870f1d2cfb2ce0243b31bec..b64e9ae30a401bb398442c5c35f3190185d0d07e 100644 (file)
@@ -224,7 +224,7 @@ GNUNET_PROGRAM_run (int argc, char *const *argv, const char *binaryName,
     GNUNET_CONFIGURATION_destroy (cfg);
     GNUNET_free_non_null (cc.cfgfile);
     GNUNET_free (loglev);
-    GNUNET_free (logfile);
+    GNUNET_free_non_null (logfile);
     GNUNET_free (allopts);
     GNUNET_free (lpfx);
     return GNUNET_SYSERR;