mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 08:39:51 -05:00
- fix memoryleak logfile when in debug mode.
git-svn-id: file:///svn/unbound/trunk@3880 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
750ead5be2
commit
de7bc9f96e
2 changed files with 4 additions and 1 deletions
|
|
@ -253,6 +253,7 @@ apply_settings(struct daemon* daemon, struct config_file* cfg,
|
||||||
verbosity = cmdline_verbose + cfg->verbosity;
|
verbosity = cmdline_verbose + cfg->verbosity;
|
||||||
if (debug_mode > 1) {
|
if (debug_mode > 1) {
|
||||||
cfg->use_syslog = 0;
|
cfg->use_syslog = 0;
|
||||||
|
free(cfg->logfile);
|
||||||
cfg->logfile = NULL;
|
cfg->logfile = NULL;
|
||||||
}
|
}
|
||||||
daemon_apply_cfg(daemon, cfg);
|
daemon_apply_cfg(daemon, cfg);
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
11 October 2016:
|
11 October 2016: Ralph
|
||||||
- Added qname-minimisation-strict config option.
|
- Added qname-minimisation-strict config option.
|
||||||
|
- iana portlist update.
|
||||||
|
- fix memoryleak logfile when in debug mode.
|
||||||
|
|
||||||
5 October 2016: Ralph
|
5 October 2016: Ralph
|
||||||
- Added views functionality.
|
- Added views functionality.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue