Commit 0db061ae authored by Witold Krecicki's avatar Witold Krecicki Committed by Mark Andrews
Browse files

Fix a small memleak in delv

(cherry picked from commit d00b3f47)
parent f1ad5bcc
Pipeline #7022 passed with stages
in 15 minutes and 51 seconds
......@@ -765,7 +765,14 @@ setup_dnsseckeys(dns_client_t *client) {
if (dlv_validation)
dns_client_setdlv(client, dns_rdataclass_in, dlv_anchor);
if (bindkeys != NULL) {
cfg_obj_destroy(parser, &bindkeys);
if (parser != NULL) {
if (result != ISC_R_SUCCESS)
delv_log(ISC_LOG_ERROR, "setup_dnsseckeys: %s",
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