summaryrefslogtreecommitdiffstats
path: root/tests/login_tests_saml2.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-17 14:23:25 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-17 15:02:41 (GMT)
commit87c3f63dd0054f3217aa98ecf323953720bbfcaa (patch)
tree56d4d5b86df6ad004e70bddeee3fab58c0d49f35 /tests/login_tests_saml2.c
parent69f46ad974b5748ee01a511a87c527b63a393af1 (diff)
downloadlasso-87c3f63dd0054f3217aa98ecf323953720bbfcaa.zip
lasso-87c3f63dd0054f3217aa98ecf323953720bbfcaa.tar.gz
lasso-87c3f63dd0054f3217aa98ecf323953720bbfcaa.tar.bz2
[Tests] fix leak of idpLogoutContext in test04_sso_then_slo_soap
Diffstat (limited to 'tests/login_tests_saml2.c')
-rw-r--r--tests/login_tests_saml2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/login_tests_saml2.c b/tests/login_tests_saml2.c
index e666588..7f026f2 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));