mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 789552 - Zero the exact rooting list heads in the JSRuntime; r=sfink
This is followup to Bug 786136. --HG-- extra : rebase_source : 01744e01cb3dfd635dad2a07817c163856602eaa
This commit is contained in:
parent
4baf189097
commit
6a442768f1
@ -906,6 +906,10 @@ JSRuntime::init(uint32_t maxbytes)
|
||||
JMCheckLogging();
|
||||
#endif
|
||||
|
||||
#if defined(JSGC_ROOT_ANALYSIS) || defined(JSGC_USE_EXACT_ROOTING)
|
||||
PodArrayZero(thingGCRooters);
|
||||
#endif
|
||||
|
||||
if (!js_InitGC(this, maxbytes))
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user