mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[mujs] dom_node_unref in doctype finalizer
This commit is contained in:
parent
299a8fd5a3
commit
f8c842ac70
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user