projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- dont resend useless channel_destroy messages
[oweals/gnunet.git]
/
src
/
util
/
program.c
diff --git
a/src/util/program.c
b/src/util/program.c
index 73003891e28dc0b570f726721362509392660479..8b1d7773ed249cf4b9a802679647493a7664215e 100644
(file)
--- a/
src/util/program.c
+++ b/
src/util/program.c
@@
-230,7
+230,7
@@
GNUNET_PROGRAM_run2 (int argc, char *const *argv, const char *binaryName,
"%s%s%s",
xdg,
DIR_SEPARATOR_STR,
"%s%s%s",
xdg,
DIR_SEPARATOR_STR,
- "gnunet.conf
ig
");
+ "gnunet.conf");
else
cfg_fn = GNUNET_strdup (GNUNET_DEFAULT_USER_CONFIG_FILE);
lpfx = GNUNET_strdup (binaryName);
else
cfg_fn = GNUNET_strdup (GNUNET_DEFAULT_USER_CONFIG_FILE);
lpfx = GNUNET_strdup (binaryName);
@@
-244,6
+244,7
@@
GNUNET_PROGRAM_run2 (int argc, char *const *argv, const char *binaryName,
GNUNET_free_non_null (cc.cfgfile);
GNUNET_free_non_null (loglev);
GNUNET_free_non_null (logfile);
GNUNET_free_non_null (cc.cfgfile);
GNUNET_free_non_null (loglev);
GNUNET_free_non_null (logfile);
+ GNUNET_free (cfg_fn);
GNUNET_free (allopts);
GNUNET_free (lpfx);
return (ret == GNUNET_SYSERR) ? GNUNET_SYSERR : GNUNET_OK;
GNUNET_free (allopts);
GNUNET_free (lpfx);
return (ret == GNUNET_SYSERR) ? GNUNET_SYSERR : GNUNET_OK;