From 87c3f63dd0054f3217aa98ecf323953720bbfcaa Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 17 Sep 2010 16:23:25 +0200 Subject: [PATCH] [Tests] fix leak of idpLogoutContext in test04_sso_then_slo_soap --- tests/login_tests_saml2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/login_tests_saml2.c b/tests/login_tests_saml2.c index e6665880..7f026f2c 100644 --- a/tests/login_tests_saml2.c +++ b/tests/login_tests_saml2.c @@ -657,6 +657,7 @@ START_TEST(test04_sso_then_slo_soap) check_null(spLogoutContext->parent.msg_relayState); lasso_assign_string(logoutResponseSoapMessage, spLogoutContext->parent.msg_body); lasso_release_gobject(spLogoutContext); + lasso_release_gobject(idpLogoutContext); /* process the response */ check_not_null(idpLogoutContext = lasso_logout_new(idpContext));