kdc/fast.c: fix leak in unusual error path.
This commit is contained in:

committed by
Viktor Dukhovni

parent
430e18c074
commit
05e8517542
@@ -434,6 +434,7 @@ _kdc_fast_unwrap_request(astgs_request_t r)
|
|||||||
kdc_log(r->context, r->config, 5,
|
kdc_log(r->context, r->config, 5,
|
||||||
"armor key does not have secrets at this KDC, "
|
"armor key does not have secrets at this KDC, "
|
||||||
"need to proxy");
|
"need to proxy");
|
||||||
|
free_AP_REQ(&ap_req);
|
||||||
goto out;
|
goto out;
|
||||||
} else if (ret) {
|
} else if (ret) {
|
||||||
free_AP_REQ(&ap_req);
|
free_AP_REQ(&ap_req);
|
||||||
|
Reference in New Issue
Block a user