mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-23 01:44:42 +03:00
Fix frame name allocation.
This commit is contained in:
parent
1f11f33a24
commit
9c1a04e279
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user