From 45366d7374f418554260af9bf9330a7a5b038217 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Tue, 4 May 2021 12:32:41 +0100 Subject: [PATCH] Fix Juniper role select form to have an auth_id too Signed-off-by: David Woodhouse --- auth-juniper.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/auth-juniper.c b/auth-juniper.c index d3eb1ff6..0d2e6ba9 100644 --- a/auth-juniper.c +++ b/auth-juniper.c @@ -347,9 +347,15 @@ static struct oc_auth_form *parse_roles_table_node(xmlNodePtr node) if (!form) return NULL; + form->auth_id = strdup("frmSelectRoles"); + if (!form->auth_id) { + free(form); + return NULL; + }; + opt = calloc(1, sizeof(*opt)); if (!opt) { - free(form); + free_auth_form(form); return NULL; } -- 2.50.1