summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lasso/Attic/protocols/elements/authentication_statement.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lasso/Attic/protocols/elements/authentication_statement.c b/lasso/Attic/protocols/elements/authentication_statement.c
index f9101e28..4c4c0616 100644
--- a/lasso/Attic/protocols/elements/authentication_statement.c
+++ b/lasso/Attic/protocols/elements/authentication_statement.c
@@ -117,5 +117,10 @@ lasso_authentication_statement_new(const xmlChar *authenticationMethod,
lasso_saml_subject_statement_abstract_set_subject(LASSO_SAML_SUBJECT_STATEMENT_ABSTRACT(statement),
LASSO_SAML_SUBJECT(subject));
+ lasso_node_destroy(subject);
+ lasso_node_destroy(identifier);
+ lasso_node_destroy(idp_identifier);
+ lasso_node_destroy(subject_confirmation);
+
return (statement);
}