diff options
author | Robbie Harwood <rharwood@redhat.com> | 2016-10-13 19:17:56 +0000 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2016-10-13 17:01:34 -0400 |
commit | 4e968b12bd7b632b481fbaee30f5a022f28d8a9d (patch) | |
tree | af35d64901cec64ad677d11f110c5388d71596af | |
parent | faceac530f415c96d8698c1321711aa30fc5b3c1 (diff) | |
download | gss-proxy-4e968b12bd7b632b481fbaee30f5a022f28d8a9d.tar.gz gss-proxy-4e968b12bd7b632b481fbaee30f5a022f28d8a9d.tar.xz gss-proxy-4e968b12bd7b632b481fbaee30f5a022f28d8a9d.zip |
Fix leak of ach in gp_accept_sec_context()
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Merges #34
-rw-r--r-- | proxy/src/gp_rpc_accept_sec_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proxy/src/gp_rpc_accept_sec_context.c b/proxy/src/gp_rpc_accept_sec_context.c index 4bb892b..22a4cf7 100644 --- a/proxy/src/gp_rpc_accept_sec_context.c +++ b/proxy/src/gp_rpc_accept_sec_context.c @@ -160,6 +160,7 @@ done: gss_release_name(&ret_min, &src_name); gss_release_buffer(&ret_min, &obuf); gss_release_cred(&ret_min, &dch); + gss_release_cred(&ret_min, &ach); gss_delete_sec_context(&ret_min, &ctx, GSS_C_NO_BUFFER); return ret; |