summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-10-03 20:48:16 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-10-03 20:48:16 +0100
commit464df9f3101e5a540fc91cdeca2b7fc0ceee870d (patch)
tree7c1535ffcd8c2511a2df58b8c815f237b8eb248f /render/box_construct.c
parentf22da7670d22d17337c1a2aebb924305b08ede2c (diff)
downloadnetsurf-464df9f3101e5a540fc91cdeca2b7fc0ceee870d.tar.gz
netsurf-464df9f3101e5a540fc91cdeca2b7fc0ceee870d.tar.bz2
Need to use content->bctx for talloc ref.
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);