mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-03 22:08:25 -04:00
Fix tkey.c:buildquery() function's error handling
Add the missing cleanup code.
This commit is contained in:
parent
cf7efbb3dd
commit
d38931f397
1 changed files with 3 additions and 0 deletions
|
|
@ -997,6 +997,9 @@ failure:
|
|||
if (dynbuf != NULL) {
|
||||
isc_buffer_free(&dynbuf);
|
||||
}
|
||||
if (rdata != NULL) {
|
||||
dns_message_puttemprdata(msg, &rdata);
|
||||
}
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue