kdc: Fix leak
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Luke Howard

parent
f1255da03c
commit
2f21cf9933
@@ -525,6 +525,7 @@ fast_unwrap_request(astgs_request_t r,
|
|||||||
HDB_F_GET_KRBTGT | HDB_F_DELAY_NEW_KEYS,
|
HDB_F_GET_KRBTGT | HDB_F_DELAY_NEW_KEYS,
|
||||||
NULL, NULL, &armor_user);
|
NULL, NULL, &armor_user);
|
||||||
if(ret == HDB_ERR_NOT_FOUND_HERE) {
|
if(ret == HDB_ERR_NOT_FOUND_HERE) {
|
||||||
|
free_AP_REQ(&ap_req);
|
||||||
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");
|
||||||
|
Reference in New Issue
Block a user