mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 08:49:58 -04:00
address memory leak [RT #44072]
This commit is contained in:
parent
2067cfdb46
commit
ea7d5332a6
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ dns_tsigkey_createfromkey(const dns_name_t *name, const dns_name_t *algorithm,
|
|||
dns_name_init(tmpname, NULL);
|
||||
ret = dns_name_dup(algorithm, mctx, tmpname);
|
||||
if (ret != ISC_R_SUCCESS) {
|
||||
dns_name_free(tmpname, mctx);
|
||||
isc_mem_put(mctx, tmpname, sizeof(dns_name_t));
|
||||
goto cleanup_name;
|
||||
}
|
||||
(void)dns_name_downcase(tmpname, tmpname, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue