1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[mujs] namednodemap_unref in attributes finalizer

This commit is contained in:
Witold Filipczyk 2024-08-09 15:42:41 +02:00
parent 62cf824fc6
commit 98e7ee5c8b

View File

@ -223,6 +223,13 @@ static void
mjs_attributes_finalizer(js_State *J, void *node)
{
attr_erase_from_map(map_attributes, node);
if (node) {
#ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%d\n", __FUNCTION__, __LINE__);
#endif
dom_namednodemap_unref((dom_namednodemap *)node);
}
}
void