Bug 788362 - 9,440 bytes in 107 blocks are definitely lost as detected by Valgrind with selectforgc. r=jcoppeard

This commit is contained in:
Bill McCloskey 2012-09-23 21:30:30 -04:00
parent c886b63c9a
commit 994a0d0b5f

View File

@ -4304,7 +4304,8 @@ IncrementalCollectSlice(JSRuntime *rt,
case MARK_ROOTS:
BeginMarkPhase(rt);
PushZealSelectedObjects(rt);
if (rt->hasContexts())
PushZealSelectedObjects(rt);
rt->gcIncrementalState = MARK;