Fix double free() of RandomContext in Melnorme comm

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3678 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2011-08-30 15:59:39 +00:00
parent 3632e6a2b5
commit d5d30cc08a
+1 -1
View File
@@ -712,8 +712,8 @@ StripShip (COUNT fuel_required)
end_mod = which_module;
++module_count[which_module];
total += GLOBAL (ModuleCost[which_module]);
RandomContext_Delete (rc);
}
RandomContext_Delete (rc);
if (total == 0)
{