mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1243754 - IonMonkey: Use 'delete' to destroy the ion script instead of 'free', r=jandem
This commit is contained in:
parent
9e9e3d3f84
commit
58718a694f
@ -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