Commit 1b9bc18a authored by Mark Andrews's avatar Mark Andrews
Browse files

Merge branch '712-memleak-in-delv-v9_11' into 'v9_11'

Fix a small memleak in delv

See merge request !1116
parents f2413e0e 01bbb308
Pipeline #7027 passed with stages
in 7 minutes and 15 seconds
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment