Need to use content->bctx for talloc ref.

This commit is contained in:
Michael Drake 2012-10-03 20:48:16 +01:00
parent f22da7670d
commit 464df9f310
1 changed files with 1 additions and 1 deletions

View File

@ -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);