diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2019-12-10 19:26:12 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2019-12-10 19:26:12 +0000 |
commit | faf667ada7181b50890bc9fc970b99da0916d02c (patch) | |
tree | a13f807e7097459508935222cbd07f70f7e65014 | |
parent | 4c4b57d5113563b054bcede735b46f18003c98e5 (diff) | |
download | netsurf-faf667ada7181b50890bc9fc970b99da0916d02c.tar.gz netsurf-faf667ada7181b50890bc9fc970b99da0916d02c.tar.bz2 |
HTML: box_consturction: cleanup name dom_string in box_object.
-rw-r--r-- | content/handlers/html/box_construct.c | 2 |
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) { |