diff --git a/src/form.cc b/src/form.cc index b1bd537..bbde43b 100644 --- a/src/form.cc +++ b/src/form.cc @@ -586,7 +586,7 @@ void Html_tag_open_isindex(DilloHtml *html, const char *tag, int tagsize) else action = a_Url_dup(html->base_url); - html->formNew(DILLO_HTML_METHOD_GET, action, DILLO_HTML_ENC_URLENCODED, + html->formNew(DILLO_HTML_METHOD_GET, action.get(), DILLO_HTML_ENC_URLENCODED, html->charset.has_value() ? html->charset.value().c_str() : nullptr); html->InFlags |= IN_FORM;