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,
|
||||
"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);
|
||||
|
Reference in New Issue
Block a user