From: <av...@us...> - 2011-08-30 15:59:45
|
Revision: 3678 http://sc2.svn.sourceforge.net/sc2/?rev=3678&view=rev Author: avolkov Date: 2011-08-30 15:59:39 +0000 (Tue, 30 Aug 2011) Log Message: ----------- Fix double free() of RandomContext in Melnorme comm Modified Paths: -------------- trunk/sc2/src/uqm/comm/melnorm/melnorm.c Modified: trunk/sc2/src/uqm/comm/melnorm/melnorm.c =================================================================== --- trunk/sc2/src/uqm/comm/melnorm/melnorm.c 2011-08-28 20:22:44 UTC (rev 3677) +++ trunk/sc2/src/uqm/comm/melnorm/melnorm.c 2011-08-30 15:59:39 UTC (rev 3678) @@ -712,8 +712,8 @@ end_mod = which_module; ++module_count[which_module]; total += GLOBAL (ModuleCost[which_module]); - RandomContext_Delete (rc); } + RandomContext_Delete (rc); if (total == 0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |