Bug 854852 - GC: One root missed from debugger r=terrence

This commit is contained in:
Jon Coppeard 2013-03-26 11:51:03 +00:00
parent 34b9f87044
commit 29e85efb07

View File

@ -879,7 +879,7 @@ Debugger::parseResumptionValue(Maybe<AutoCompartment> &ac, bool ok, const Value
Rooted<JSObject*> obj(cx);
RootedShape shape(cx);
RootedId returnId(cx, NameToId(cx->names().return_));
jsid throwId = NameToId(cx->names().throw_);
RootedId throwId(cx, NameToId(cx->names().throw_));
bool okResumption = rv.isObject();
if (okResumption) {
obj = &rv.toObject();