2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Fix various bugs reported by valgrind --tool=memcheck (#46978)

This commit is contained in:
Mukund Sivaraman
2018-01-13 00:31:30 +05:30
parent 1883d11ca2
commit f96133826e
13 changed files with 70 additions and 34 deletions

View File

@@ -238,7 +238,7 @@ fetch_done(isc_task_t *task, isc_event_t *event) {
* If we're expiring before the next recheck, we might
* as well stop the timer now.
*/
if (nta->timer != NULL && nta->expiry - now < ntatable->recheck)
if (nta->timer != NULL && nta->expiry - now < view->nta_recheck)
(void) isc_timer_reset(nta->timer, isc_timertype_inactive,
NULL, NULL, ISC_TRUE);
nta_detach(view->mctx, &nta);