Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
This commit is contained in:
@@ -373,7 +373,7 @@ js_InitWeakMapClass(JSContext *cx, JSObject *obj)
|
||||
return NULL;
|
||||
|
||||
RootedFunction ctor(cx, global->createConstructor(cx, WeakMap_construct,
|
||||
cx->runtime->atomState.WeakMapAtom, 0));
|
||||
CLASS_NAME(cx, WeakMap), 0));
|
||||
if (!ctor)
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user