summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_construct.c')
-rw-r--r--render/box_construct.c2
1 files changed, 1 insertions, 1 deletions
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);