Free dynarec code blocks on exit

This commit is contained in:
Flyinghead 2018-10-29 16:10:39 +01:00
parent 8a56710841
commit 47be33d388
1 changed files with 4 additions and 0 deletions

View File

@ -427,6 +427,10 @@ void bm_Term()
oprofHandle=0; oprofHandle=0;
#endif #endif
bm_Reset();
for (int i = 0; i < del_blocks.size(); i++)
delete del_blocks[i];
del_blocks.clear();
} }
void bm_WriteBlockMap(const string& file) void bm_WriteBlockMap(const string& file)