From 464df9f3101e5a540fc91cdeca2b7fc0ceee870d Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 3 Oct 2012 20:48:16 +0100 Subject: Need to use content->bctx for talloc ref. --- render/box_construct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render') diff --git a/render/box_construct.c b/render/box_construct.c index 8b54fc8d4..13bf409f0 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -2152,7 +2152,7 @@ bool box_create_frameset(struct content_html_frames *f, dom_node *n, f->cols = cols; f->rows = rows; f->scrolling = SCROLLING_NO; - f->children = talloc_array(content, struct content_html_frames, + f->children = talloc_array(content->bctx, struct content_html_frames, (rows * cols)); talloc_set_destructor(f->children, box_frames_talloc_destructor); -- cgit v1.2.3