Oops. Don't free c, it's added to vector.
This commit is contained in:
parent
f67bdbef3f
commit
5a9e3a96b1
@ -1562,7 +1562,6 @@ s9xcommand_t S9xGetCommandT (const char *name)
|
||||
|
||||
cmd.button.multi_idx = multis.size() - 1;
|
||||
cmd.type = S9xButtonMulti;
|
||||
free(c);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user