projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
accept_sec_context: only destroy request if it is populated
[mech_eap.git]
/
accept_sec_context.c
diff --git
a/accept_sec_context.c
b/accept_sec_context.c
index
b3a56c6
..
1223a80
100644
(file)
--- a/
accept_sec_context.c
+++ b/
accept_sec_context.c
@@
-433,7
+433,8
@@
eapGssSmAcceptAuthenticate(OM_uint32 *minor,
major = GSS_S_CONTINUE_NEEDED;
cleanup:
- rs_request_destroy(request);
+ if (request)
+ rs_request_destroy(request);
return major;
}