projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1459677
)
plug leak in previous commit
author
Luke Howard
<lukeh@padl.com>
Tue, 15 Mar 2011 06:14:49 +0000
(17:14 +1100)
committer
Luke Howard
<lukeh@padl.com>
Tue, 15 Mar 2011 06:14:49 +0000
(17:14 +1100)
init_sec_context.c
patch
|
blob
|
history
diff --git
a/init_sec_context.c
b/init_sec_context.c
index
a7d17b5
..
1f445bc
100644
(file)
--- a/
init_sec_context.c
+++ b/
init_sec_context.c
@@
-952,10
+952,8
@@
gss_init_sec_context(OM_uint32 *minor,
if (initialContextToken) {
major = initBegin(minor, cred, ctx, target_name, mech_type,
req_flags, time_req, input_chan_bindings);
- if (GSS_ERROR(major)) {
- gssEapReleaseContext(minor, &ctx);
- return major;
- }
+ if (GSS_ERROR(major))
+ goto cleanup;
}
major = gssEapSmStep(minor,