mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1243754 - IonMonkey: Use 'delete' to destroy the ion script instead of 'free', r=jandem
This commit is contained in:
parent
9ba45bcf82
commit
d2f35b7af9
@ -1264,9 +1264,7 @@ void
|
||||
IonScript::Destroy(FreeOp* fop, IonScript* script)
|
||||
{
|
||||
script->unlinkFromRuntime(fop);
|
||||
// Frees the potential event we have set.
|
||||
script->traceLoggerScriptEvent_ = TraceLoggerEvent();
|
||||
fop->free_(script);
|
||||
fop->delete_(script);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user