mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-27 12:53:25 -04:00
Merge branch '712-memleak-in-delv' into 'master'
Fix a small memleak in delv Closes #712 See merge request isc-projects/bind9!1101
This commit is contained in:
commit
5bc8feab45
1 changed files with 7 additions and 0 deletions
|
|
@ -765,7 +765,14 @@ setup_dnsseckeys(dns_client_t *client) {
|
|||
if (dlv_validation)
|
||||
dns_client_setdlv(client, dns_rdataclass_in, dlv_anchor);
|
||||
|
||||
|
||||
cleanup:
|
||||
if (bindkeys != NULL) {
|
||||
cfg_obj_destroy(parser, &bindkeys);
|
||||
}
|
||||
if (parser != NULL) {
|
||||
cfg_parser_destroy(&parser);
|
||||
}
|
||||
if (result != ISC_R_SUCCESS)
|
||||
delv_log(ISC_LOG_ERROR, "setup_dnsseckeys: %s",
|
||||
isc_result_totext(result));
|
||||
|
|
|
|||
Loading…
Reference in a new issue