|
From: <av...@us...> - 2012-02-12 02:41:17
|
Revision: 3764
http://sc2.svn.sourceforge.net/sc2/?rev=3764&view=rev
Author: avolkov
Date: 2012-02-12 02:41:11 +0000 (Sun, 12 Feb 2012)
Log Message:
-----------
Free the state-file data upon delete, from Louis Delacroix
Modified Paths:
--------------
trunk/sc2/src/uqm/state.c
Modified: trunk/sc2/src/uqm/state.c
===================================================================
--- trunk/sc2/src/uqm/state.c 2012-02-12 02:32:30 UTC (rev 3763)
+++ trunk/sc2/src/uqm/state.c 2012-02-12 02:41:11 UTC (rev 3764)
@@ -124,6 +124,8 @@
fp->used = 0;
fp->ptr = 0;
+ HFree (fp->data);
+ fp->data = 0;
}
DWORD
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|