Commit 9bad78cb authored by Mark Andrews's avatar Mark Andrews

test for key != NULL on error path

parent 4d1bbe30
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment