kdc/fast.c: fix leak in unusual error path.

This commit is contained in:
Roland C. Dowdeswell
2019-11-21 20:16:32 +00:00
committed by Viktor Dukhovni
parent 430e18c074
commit 05e8517542

View File

@@ -434,6 +434,7 @@ _kdc_fast_unwrap_request(astgs_request_t r)
kdc_log(r->context, r->config, 5,
"armor key does not have secrets at this KDC, "
"need to proxy");
free_AP_REQ(&ap_req);
goto out;
} else if (ret) {
free_AP_REQ(&ap_req);