Merge branch '3492-fix-tkey.c-buildquery-cleanup' into 'main'

Fix tkey.c:buildquery() function's error handling

Closes #3492

See merge request isc-projects/bind9!6661
This commit is contained in:
Arаm Sаrgsyаn 2022-08-16 07:15:09 +00:00
commit 5604d942fb
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,6 @@
5942. [bug] Fix tkey.c:buildquery() function's error handling by
adding the missing cleanup code. [GL #3492]
5941. [func] Zones with dnssec-policy now require dynamic DNS or
inline-siging to be configured explicitly. [GL #3381]

View file

@ -997,6 +997,9 @@ failure:
if (dynbuf != NULL) {
isc_buffer_free(&dynbuf);
}
if (rdata != NULL) {
dns_message_puttemprdata(msg, &rdata);
}
return (result);
}