diff --git a/daemon/unbound.c b/daemon/unbound.c index 73e9fcbb6..88fbb6f2e 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -253,6 +253,7 @@ apply_settings(struct daemon* daemon, struct config_file* cfg, verbosity = cmdline_verbose + cfg->verbosity; if (debug_mode > 1) { cfg->use_syslog = 0; + free(cfg->logfile); cfg->logfile = NULL; } daemon_apply_cfg(daemon, cfg); diff --git a/doc/Changelog b/doc/Changelog index fcf8d662a..1c69d1125 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,7 @@ -11 October 2016: +11 October 2016: Ralph - Added qname-minimisation-strict config option. + - iana portlist update. + - fix memoryleak logfile when in debug mode. 5 October 2016: Ralph - Added views functionality.