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:
parent
36571c79b3
commit
78b7499f52
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user