summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/form.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/form.c b/render/form.c
index 05d4042a2..776ebdc7a 100644
--- a/render/form.c
+++ b/render/form.c
@@ -1167,13 +1167,13 @@ static void form__select_process_selection(html_content *html,
talloc_free(inline_box->text);
inline_box->text = 0;
if (control->data.select.num_selected == 0)
- inline_box->text = talloc_strdup(html,
+ inline_box->text = talloc_strdup(html->bctx,
messages_get("Form_None"));
else if (control->data.select.num_selected == 1)
- inline_box->text = talloc_strdup(html,
+ inline_box->text = talloc_strdup(html->bctx,
control->data.select.current->text);
else
- inline_box->text = talloc_strdup(html,
+ inline_box->text = talloc_strdup(html->bctx,
messages_get("Form_Many"));
if (!inline_box->text) {
warn_user("NoMemory", 0);