SDL : Fix small memory leak (patch by chrono)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@722 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
58fe4d43f5
commit
d87a08e1df
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue