summaryrefslogtreecommitdiff
path: root/content/handlers/html
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html')
-rw-r--r--content/handlers/html/box_construct.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/handlers/html/box_construct.c b/content/handlers/html/box_construct.c
index 50d102729..6271405fe 100644
--- a/content/handlers/html/box_construct.c
+++ b/content/handlers/html/box_construct.c
@@ -1849,9 +1849,11 @@ bool box_object(BOX_SPECIAL_PARAMS)
/* The first non-param child is the start of
* the alt html. Therefore, we should break
* out of this loop. */
+ dom_string_unref(name);
dom_node_unref(c);
break;
}
+ dom_string_unref(name);
param = talloc(params, struct object_param);
if (param == NULL) {