diff options
| -rw-r--r-- | lasso/id-wsf-2.0/discovery.c | 1 | ||||
| -rw-r--r-- | lasso/saml-2.0/login.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lasso/id-wsf-2.0/discovery.c b/lasso/id-wsf-2.0/discovery.c index ed226ebc..8c7f1e7e 100644 --- a/lasso/id-wsf-2.0/discovery.c +++ b/lasso/id-wsf-2.0/discovery.c @@ -85,6 +85,7 @@ lasso_idwsf2_discovery_destroy(LassoIdWsf2Discovery *discovery) lasso_node_destroy(LASSO_NODE(discovery)); } +/* XXX: return value must be freed by caller */ gchar* lasso_idwsf2_discovery_metadata_register_self(LassoIdWsf2Discovery *discovery, const gchar *service_type, const gchar *abstract, diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c index 45534f1b..e5f6124f 100644 --- a/lasso/saml-2.0/login.c +++ b/lasso/saml-2.0/login.c @@ -662,6 +662,7 @@ lasso_saml20_login_assertion_add_discovery(LassoLogin *login, LassoSaml2Assertio /* FIXME : foreach on the whole list and build on epr for each svcMD */ svcMD = svcMDs->data; + /* Check the metadatas contain the infos needed to build an EPR */ if (svcMD == NULL || svcMD->ServiceContext == NULL || svcMD->ServiceContext->data == NULL) { g_list_foreach(svcMDs, (GFunc)lasso_node_destroy, NULL); g_list_free(svcMDs); |
