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 44a5351ae..26d9b54ab 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -2284,7 +2284,7 @@ bool box_create_frameset(struct content_html_frames *f, dom_node *n,
/* fill in specified values */
err = dom_element_get_attribute(c, kstr_name, &s);
if (err == DOM_NO_ERR && s != NULL) {
- frame->name = talloc_strdup(content,
+ frame->name = talloc_strdup(content->bctx,
dom_string_data(s));
dom_string_unref(s);
}