Free the state-file data upon delete, from Louis Delacroix

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3764 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2012-02-12 02:41:11 +00:00
parent f3af42e618
commit f87f956cdf
+2
View File
@@ -124,6 +124,8 @@ DeleteStateFile (int stateFile)
fp->used = 0; fp->used = 0;
fp->ptr = 0; fp->ptr = 0;
HFree (fp->data);
fp->data = 0;
} }
DWORD DWORD