SDL : Fix small memory leak (patch by chrono)

This commit is contained in:
bgk 2008-09-13 16:52:11 +00:00
parent af20e7396f
commit 28fe0ce01c
1 changed files with 4 additions and 0 deletions

View File

@ -1056,6 +1056,10 @@ void sdlWriteBackupStateExchange(int from, int to, int backup)
systemConsoleMessage("Savestate store and backup committed"); // with timestamp and newline
fprintf(stdout, "to slot %d, backup in %d, using temporary slot %d\n", to+1, backup+1, from+1);
free(stateNameOrig);
free(stateNameDest);
free(stateNameBack);
}
void sdlWriteBattery()