Signed-off-by: Kevin Cernekee <cernekee at gmail.com> --- auth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth.c b/auth.c index 039c939..d51da87 100644 --- a/auth.c +++ b/auth.c @@ -500,7 +500,8 @@ int parse_xml_response(struct openconnect_info *vpninfo, char *response, struct oc_form_opt *tmp = form->opts->next; if (form->opts->type == OC_FORM_OPT_TEXT || form->opts->type == OC_FORM_OPT_PASSWORD || - form->opts->type == OC_FORM_OPT_HIDDEN) + form->opts->type == OC_FORM_OPT_HIDDEN || + form->opts->type == OC_FORM_OPT_STOKEN) free(form->opts->value); else if (form->opts->type == OC_FORM_OPT_SELECT) { struct oc_form_opt_select *sel = (void *)form->opts; -- 1.7.10.4