prevent use after free
This commit is contained in:
parent
21dbca9543
commit
1085cc14a4
|
@ -210,13 +210,13 @@ bool Init()
|
|||
|
||||
void DeInit()
|
||||
{
|
||||
delete ARM9;
|
||||
delete ARM7;
|
||||
|
||||
#ifdef JIT_ENABLED
|
||||
ARMJIT::DeInit();
|
||||
#endif
|
||||
|
||||
delete ARM9;
|
||||
delete ARM7;
|
||||
|
||||
for (int i = 0; i < 8; i++)
|
||||
delete DMAs[i];
|
||||
|
||||
|
|
Loading…
Reference in New Issue