diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-04-22 11:19:32 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-04-22 11:19:32 +0000 |
| commit | 6e072c2b5f93bf6a7f400eed65147c15030055a8 (patch) | |
| tree | 05e74b2f9ef0fab75610d732968adeb265e0a6d5 | |
| parent | dc0da3d1b0566d4337df8452e91c3e91c820bbc4 (diff) | |
Fix wrong change g_free -> lasso_release inside example code
| -rw-r--r-- | lasso/id-ff/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c index 4243c036..902f6f16 100644 --- a/lasso/id-ff/login.c +++ b/lasso/id-ff/login.c @@ -84,7 +84,7 @@ * } else if (protocolProfile == LASSO_SAML_2_0) { * LassoSamlp2AuthnRequest *request = LASSO_SAMLP2_AUTHN_REQUEST(LASSO_PROFILE(login)->request); * if (request->NameIDPolicy->Format) { - * lasso_release(request->NameIDPolicy->Format); + * g_free(request->NameIDPolicy->Format); * } * request->NameIDPolicy->Format = g_strdup(LASSO_NAME_IDENTIFIER_FORMAT_PERSISTENT); * // Allow creation of new federation @@ -94,7 +94,7 @@ * request->IsPassive = FALSE; * // tell the IdP how to return the response * if (request->ProtocolBinding) { - * lasso_release(request->ProtocolBinding); + * g_free(request->ProtocolBinding); * } * // here we expect an artifact response, it could be post, redirect or PAOS. * request->ProtocolBinding = g_strdup(LASSO_SAML2_METADATA_BINDING_ARTIFACT); |
