mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-08 00:10:27 -05:00
test for key != NULL on error path
(cherry picked from commit 9bad78cbc2)
This commit is contained in:
parent
265ba7d08b
commit
c92193d7ff
1 changed files with 2 additions and 1 deletions
|
|
@ -390,7 +390,8 @@ io(dns_name_t *name, isc_uint16_t id, isc_uint16_t alg, int type,
|
|||
cleandir(tmp);
|
||||
|
||||
failure:
|
||||
dst_key_free(&key);
|
||||
if (key != NULL)
|
||||
dst_key_free(&key);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue