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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user