mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix small memory leak in error condition remote.c
- Fix double free in error condition view.c
This commit is contained in:
parent
5fcae2f0e0
commit
4f5b934688
3 changed files with 6 additions and 3 deletions
|
|
@ -2527,6 +2527,7 @@ do_auth_zone_transfer(RES* ssl, struct worker* worker, char* arg)
|
||||||
if(!az || !auth_zones_startprobesequence(az, &worker->env, nm, nmlen,
|
if(!az || !auth_zones_startprobesequence(az, &worker->env, nm, nmlen,
|
||||||
LDNS_RR_CLASS_IN)) {
|
LDNS_RR_CLASS_IN)) {
|
||||||
(void)ssl_printf(ssl, "error zone xfr task not found %s\n", arg);
|
(void)ssl_printf(ssl, "error zone xfr task not found %s\n", arg);
|
||||||
|
free(nm);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
send_ok(ssl);
|
send_ok(ssl);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
|
30 January 2020: Ralph
|
||||||
|
- Fix memory leak in error condition remote.c
|
||||||
|
- Fix double free in error condition view.c
|
||||||
|
|
||||||
29 January 2020: Ralph
|
29 January 2020: Ralph
|
||||||
- Merge PR#156 from Alexander Berkes; Added unbound-control
|
- Merge PR#156 from Alexander Berkes; Added unbound-control
|
||||||
view_local_datas_remove command.
|
view_local_datas_remove command.
|
||||||
|
|
||||||
29 January 2020: Wouter
|
29 January 2020: Wouter
|
||||||
- Fix #157: undefined reference to `htobe64'.
|
- Fix #157: undefined reference to `htobe64'.
|
||||||
|
|
|
||||||
|
|
@ -198,8 +198,6 @@ views_apply_cfg(struct views* vs, struct config_file* cfg)
|
||||||
log_err("failed to insert "
|
log_err("failed to insert "
|
||||||
"default zones into "
|
"default zones into "
|
||||||
"local-zone list");
|
"local-zone list");
|
||||||
free(nd_str);
|
|
||||||
free(nd_type);
|
|
||||||
lock_rw_unlock(&v->lock);
|
lock_rw_unlock(&v->lock);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue