mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 850446 - Fix NULL deref in StartOffThreadIonCompile(). r=bhackett
This commit is contained in:
parent
4b196a0cdc
commit
96b49ecdf7
@ -30,6 +30,7 @@ js::StartOffThreadIonCompile(JSContext *cx, ion::IonBuilder *builder)
|
||||
if (!rt->workerThreadState->init(rt)) {
|
||||
js_delete(rt->workerThreadState);
|
||||
rt->workerThreadState = NULL;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
WorkerThreadState &state = *cx->runtime->workerThreadState;
|
||||
|
Loading…
Reference in New Issue
Block a user