summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/box_construct.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 37a870243..cc30d896c 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -2223,14 +2223,17 @@ bool box_create_frameset(struct content_html_frames *f, dom_node *n,
err = dom_node_get_next_sibling(c,
&next);
if (err != DOM_NO_ERR) {
+ dom_string_unref(name);
dom_node_unref(c);
return false;
}
+ dom_string_unref(name);
dom_node_unref(c);
c = next;
} else {
/* Got a FRAME or FRAMESET element */
+ dom_string_unref(name);
break;
}
}