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

Add the missing cleanup code.
This commit is contained in:
Aram Sargsyan 2022-08-15 11:40:21 +00:00
parent cf7efbb3dd
commit d38931f397

View file

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