From 75df8b9d4a81a291d8833df32cc48a47669065bd Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 5 Oct 2012 14:41:40 +0100 Subject: Talloc ctx fixup. --- render/form.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'render') 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); -- cgit v1.2.3