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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user