зеркало из https://github.com/mozilla/gecko-dev.git
Bug 788356 - Fix memory leak in evaluate(). JS shell only; this code is not part of the browser. r=Waldo.
This commit is contained in:
Родитель
0788ac65de
Коммит
43946acc68
|
@ -771,7 +771,7 @@ class AutoNewContext
|
|||
suspension.destroy();
|
||||
if (throwing)
|
||||
JS_SetPendingException(oldcx, exc);
|
||||
JS_DestroyContextNoGC(newcx);
|
||||
DestroyContext(newcx, false);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче