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:
parent
62cf824fc6
commit
98e7ee5c8b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user