Commit e3882883 authored by Mark Andrews's avatar Mark Andrews
Browse files

free key on error

(cherry picked from commit 607c2d74)
parent 1b276bdb
Pipeline #5590 passed with stages
in 7 minutes and 46 seconds
......@@ -892,6 +892,9 @@ dst_key_fromgssapi(const dns_name_t *name, gss_ctx_id_t gssctx,
*keyp = key;
result = ISC_R_SUCCESS;
out:
if (result != ISC_R_SUCCESS) {
dst_key_free(&key);
}
return result;
}
......
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