mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-23 00:00:51 -05:00
Merge pull request #531 from Shchelk/ptpaf
Fix: passed to proc after free
This commit is contained in:
commit
1ae42b94b3
1 changed files with 1 additions and 1 deletions
|
|
@ -397,10 +397,10 @@ read_root_hints(struct iter_hints* hints, char* fname)
|
||||||
delegpt_free_mlc(dp);
|
delegpt_free_mlc(dp);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
delegpt_log(VERB_QUERY, dp);
|
||||||
if(!hints_insert(hints, c, dp, 0)) {
|
if(!hints_insert(hints, c, dp, 0)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
delegpt_log(VERB_QUERY, dp);
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
stop_read:
|
stop_read:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue