Protect against a double free.

This commit is contained in:
Unknown W. Brackets 2013-05-31 22:26:40 -07:00
parent 973e21b8d9
commit f5abbe35ae

View file

@ -40,6 +40,7 @@ void __CheatShutdown() {
if (cheatEngine != 0) {
cheatEngine->Exit();
delete cheatEngine;
cheatEngine = 0;
}
}