DBG: fixed memory leak with analyze_nukem
This commit is contained in:
parent
0c5a1a89f0
commit
94b2280e59
|
@ -13,11 +13,11 @@ void Analyse_nukem(duint base, duint size)
|
|||
|
||||
BBlockArray blocks;
|
||||
|
||||
LinearPass* pass1 = new LinearPass(base, end, blocks);
|
||||
pass1->Analyse();
|
||||
LinearPass pass1(base, end, blocks);
|
||||
pass1.Analyse();
|
||||
|
||||
FunctionPass* pass2 = new FunctionPass(base, end, blocks);
|
||||
pass2->Analyse();
|
||||
FunctionPass pass2(base, end, blocks);
|
||||
pass2.Analyse();
|
||||
|
||||
dprintf("Analysis finished in %ums!\n", GetTickCount() - ticks);
|
||||
}
|
Loading…
Reference in New Issue