1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-19 01:36:33 -04:00

[mujs] dom_node_unref in doctype finalizer

This commit is contained in:
Witold Filipczyk 2024-08-06 18:18:17 +02:00
parent 299a8fd5a3
commit f8c842ac70

View File

@ -1554,6 +1554,10 @@ static void
mjs_doctype_finalizer(js_State *J, void *node)
{
attr_erase_from_map(map_doctypes, node);
if (node) {
dom_node_unref((dom_node *)node);
}
}
static void