mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-24 11:39:21 +01:00
Snes9x - cheats: Fix of delete instead of free on strdup. (#971)
This commit is contained in:
parent
243865281b
commit
14f06f25c7
@ -426,7 +426,7 @@ SCheatGroup S9xCreateCheatGroup (const char *name, const char *cheat)
|
|||||||
g.c.push_back (c);
|
g.c.push_back (c);
|
||||||
}
|
}
|
||||||
|
|
||||||
delete[] code_string;
|
free(code_string);
|
||||||
|
|
||||||
return g;
|
return g;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user