diff options
author | Simo Sorce <simo@redhat.com> | 2013-04-03 22:16:35 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-04-03 22:51:22 -0400 |
commit | 58e065ff7f63a231b2fe6f88a81b6c5e4cb206a1 (patch) | |
tree | 1565bff6e27ee0e6c3027629bc11c6de4424bb89 /proxy/src/mechglue/gpp_context.c | |
parent | 212d8f424125cdd40c154b2f09a219d4d0325b8d (diff) | |
download | gss-proxy-58e065ff7f63a231b2fe6f88a81b6c5e4cb206a1.tar.gz gss-proxy-58e065ff7f63a231b2fe6f88a81b6c5e4cb206a1.tar.xz gss-proxy-58e065ff7f63a231b2fe6f88a81b6c5e4cb206a1.zip |
Fix a few more resource leaks
Still a couple resource leaks after the last Coverity scan
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/src/mechglue/gpp_context.c')
-rw-r--r-- | proxy/src/mechglue/gpp_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy/src/mechglue/gpp_context.c b/proxy/src/mechglue/gpp_context.c index 448c3e0..914edc8 100644 --- a/proxy/src/mechglue/gpp_context.c +++ b/proxy/src/mechglue/gpp_context.c @@ -266,6 +266,8 @@ done: if (maj == GSS_S_COMPLETE) { if (mech_type) { *mech_type = mech_oid; + } else { + (void)gss_release_oid(&min, &mech_oid); } if (src_name) { *src_name = (gss_name_t)s_name; |