mirror of
https://github.com/Oibaf66/fbzx-wii.git
synced 2024-11-28 02:54:15 +01:00
Fixed a memory leakage in save confs
This commit is contained in:
parent
dd814e4b79
commit
b06d6c3580
@ -1739,7 +1739,6 @@ static int save_load_game_configurations(int which)
|
||||
if (which == 0) // Load config file
|
||||
{
|
||||
if (!load_config(&ordenador,(char *)filename)) {msgInfo("Game confs loaded",3000,NULL);retorno2=-1;}
|
||||
break;
|
||||
}
|
||||
else // Delete config file
|
||||
if (msgYesNo("Delete the file?", 0, FULL_DISPLAY_X /2-138/RATIO, FULL_DISPLAY_Y /2-48/RATIO)) unlink(filename);
|
||||
|
Loading…
Reference in New Issue
Block a user