HTML: box_consturction: cleanup name dom_string in box_object.

This commit is contained in:
Michael Drake 2019-12-10 19:26:12 +00:00
parent 4c4b57d511
commit faf667ada7

View File

@ -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) {