cheats: Fix of delete instead of free on strdup.

This commit is contained in:
BearOso 2021-05-15 11:33:27 -05:00
parent cf2d1bf791
commit 4811462f11
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ SCheatGroup S9xCreateCheatGroup (const char *name, const char *cheat)
g.c.push_back (c);
}
delete[] code_string;
free(code_string);
return g;
}