mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[mujs] dom_node_unref in attr finalizer
This commit is contained in:
parent
98e7ee5c8b
commit
dd74b31fda
@ -101,6 +101,13 @@ static
|
||||
void mjs_attr_finalizer(js_State *J, void *node)
|
||||
{
|
||||
attr_erase_from_map(map_attrs, node);
|
||||
|
||||
if (node) {
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "Before: %s:%d\n", __FUNCTION__, __LINE__);
|
||||
#endif
|
||||
dom_node_unref((dom_node *)node);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user