diff options
Diffstat (limited to 'render/box_construct.c')
-rw-r--r-- | render/box_construct.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/render/box_construct.c b/render/box_construct.c index d518bd729..2ad5eb26c 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -2217,6 +2217,11 @@ bool box_create_frameset(struct content_html_frames *f, dom_node *n, } } + /* If the last child wasn't a frame, we still need to unref it */ + if (c != NULL) { + dom_node_unref(c); + } + return true; } |