mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
test for key != NULL on error path
This commit is contained in:
parent
4d1bbe308d
commit
9bad78cbc2
1 changed files with 2 additions and 1 deletions
|
|
@ -381,7 +381,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