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

Fix leak in checkds code

In 'checkds_send_toaddr' there is a goto bug that causes the TSIG key
and DNS message to not be detached. Remove the offending goto statement.
This commit is contained in:
Matthijs Mekking
2021-07-12 10:10:12 +02:00
parent ef467a5a7c
commit b676163933

View File

@@ -21231,7 +21231,6 @@ checkds_send_toaddr(isc_task_t *task, isc_event_t *event) {
checkds->zone, ISC_LOG_DEBUG(3),
"checkds: dns_request_createvia() to %s failed: %s",
addrbuf, dns_result_totext(result));
goto cleanup;
}
cleanup_key: