summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-11-30 22:58:57 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-11-30 22:58:57 +0000
commit012b7c3af5938b6ef1d4b1ea100b857d2154e908 (patch)
tree050f3aeab9a685a4a3be2b775708a37116a3bd98
parent10702e1ea44e0d5436ef26406862652091e8b2c0 (diff)
downloadlasso-012b7c3af5938b6ef1d4b1ea100b857d2154e908.tar.gz
lasso-012b7c3af5938b6ef1d4b1ea100b857d2154e908.tar.xz
lasso-012b7c3af5938b6ef1d4b1ea100b857d2154e908.zip
Fix double g_object_unref
* lasso/id-ff/login.c: status is already freed by lasso_assign_gobject, do not free it first with lasso_node_destroy.
-rw-r--r--lasso/id-ff/login.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c
index f6483a1d..1452983a 100644
--- a/lasso/id-ff/login.c
+++ b/lasso/id-ff/login.c
@@ -1230,8 +1230,6 @@ lasso_login_build_response_msg(LassoLogin *login, gchar *remote_providerID)
lasso_session_get_assertion(profile->session,
profile->remote_providerID));
if (status) {
- lasso_node_destroy(LASSO_NODE(LASSO_SAMLP_RESPONSE(
- profile->response)->Status));
lasso_assign_gobject(LASSO_SAMLP_RESPONSE(profile->response)->Status,
status);
lasso_session_remove_status(profile->session,