From bd6b00e254951972ae226b06c9fb2370d37f3ad2 Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Wed, 28 Jul 2004 23:04:03 +0000 Subject: Inverted only 2 lines :-) --- lasso/id-ff/user.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lasso') diff --git a/lasso/id-ff/user.c b/lasso/id-ff/user.c index 2a0f6329..9f4a9357 100644 --- a/lasso/id-ff/user.c +++ b/lasso/id-ff/user.c @@ -275,8 +275,9 @@ lasso_user_get_assertion(LassoUser *user, assertion = (LassoNode *)g_hash_table_lookup(user->assertions, remote_providerID); - if (assertion == NULL) - return NULL; + if (assertion == NULL) { + return NULL; + } return(lasso_node_copy(assertion)); } @@ -306,8 +307,8 @@ lasso_user_get_authentication_method(LassoUser *user, } done: - lasso_node_destroy(assertion); lasso_node_destroy(as); + lasso_node_destroy(assertion); return (authentication_method); } -- cgit