mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -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
|
#ifdef ECMASCRIPT_DEBUG
|
||||||
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
dom_namednodemap *attrs = (dom_namednodemap *)JS::GetMaybePtrFromReservedSlot<dom_namednodemap>(obj, 0);
|
dom_namednodemap *attrs = (dom_namednodemap *)JS::GetMaybePtrFromReservedSlot<dom_namednodemap>(obj, 0);
|
||||||
|
|
||||||
if (attrs) {
|
if (attrs) {
|
||||||
dom_namednodemap_unref(attrs);
|
dom_namednodemap_unref(attrs);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
JSClassOps attributes_ops = {
|
JSClassOps attributes_ops = {
|
||||||
|
Loading…
Reference in New Issue
Block a user