mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -05:00
- Fix for crash in daemon_cleanup with dnstap during reload,
from Saksham Manchanda. - Also that for dnscrypt. git-svn-id: file:///svn/unbound/trunk@4663 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
d97a635084
commit
2951f21dab
2 changed files with 7 additions and 0 deletions
|
|
@ -706,9 +706,11 @@ daemon_cleanup(struct daemon* daemon)
|
||||||
daemon->num = 0;
|
daemon->num = 0;
|
||||||
#ifdef USE_DNSTAP
|
#ifdef USE_DNSTAP
|
||||||
dt_delete(daemon->dtenv);
|
dt_delete(daemon->dtenv);
|
||||||
|
daemon->dtenv = NULL;
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_DNSCRYPT
|
#ifdef USE_DNSCRYPT
|
||||||
dnsc_delete(daemon->dnscenv);
|
dnsc_delete(daemon->dnscenv);
|
||||||
|
daemon->dnscenv = NULL;
|
||||||
#endif
|
#endif
|
||||||
daemon->cfg = NULL;
|
daemon->cfg = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
26 April 2018: Wouter
|
||||||
|
- Fix for crash in daemon_cleanup with dnstap during reload,
|
||||||
|
from Saksham Manchanda.
|
||||||
|
- Also that for dnscrypt.
|
||||||
|
|
||||||
25 April 2018: Ralph
|
25 April 2018: Ralph
|
||||||
- Fix memory leak when caching wildcard records for aggressive NSEC use
|
- Fix memory leak when caching wildcard records for aggressive NSEC use
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue