mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 12:13:20 -04:00
Remove unnecessary dns_name_free call
When processing a catalog zone member's primaries definition and
there is a TXT record containing an invalid name TSIG key name,
dns_name_free was incorrectly called triggering an assertion.
This has been fixed.
(cherry picked from commit 9f411c93c4)
This commit is contained in:
parent
de4a9b4fa6
commit
35a5e29800
1 changed files with 0 additions and 1 deletions
|
|
@ -1467,7 +1467,6 @@ catz_process_primaries(dns_catz_zone_t *catz, dns_ipkeylist_t *ipkl,
|
|||
result = dns_name_fromstring(keyname, keycbuf,
|
||||
dns_rootname, 0, mctx);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_name_free(keyname, mctx);
|
||||
isc_mem_put(mctx, keyname, sizeof(*keyname));
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue