[SAMLv2] fix early release of the request when using idp_initiaed login

This commit is contained in:
Benjamin Dauvergne 2010-09-17 18:07:39 +02:00
parent 1ffece0e57
commit 5bcbb0e55f
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ lasso_saml20_login_process_authn_request_msg(LassoLogin *login, const char *auth
/* AuthnRequest already set by .._init_idp_initiated_authn_request, or from a
* previously failed call to process_authn_request that we retry. */
request = profile->request;
request = lasso_ref(profile->request);
} else {
request = lasso_samlp2_authn_request_new();
lasso_check_good_rc(lasso_saml20_profile_process_any_request(profile, request, authn_request_msg));