1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[spidermonkey] Empty finalizer for attributes

There was double free. To be resolved later.
This commit is contained in:
Witold Filipczyk 2024-06-16 14:45:54 +02:00
parent 36571c79b3
commit 78b7499f52

View File

@ -62,12 +62,14 @@ static void attributes_finalize(JS::GCContext *op, JSObject *obj)
#ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
#endif
#if 0
dom_namednodemap *attrs = (dom_namednodemap *)JS::GetMaybePtrFromReservedSlot<dom_namednodemap>(obj, 0);
if (attrs) {
dom_namednodemap_unref(attrs);
}
#endif
}
JSClassOps attributes_ops = {