tMemory leak in CheckForKilledPlayers() fixed. - vaccinewars - be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit 22eebd0d63eb25445cceac13aeb48b9f0e8ae4ef
parent 06cfe1e7e5a97d86e5cc133d113f8633ce9b92d2
Author: Ben Webb 
Date:   Fri,  2 Aug 2002 12:56:22 +0000

Memory leak in CheckForKilledPlayers() fixed.


Diffstat:
  M src/serverside.c                    |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/serverside.c b/src/serverside.c
t@@ -2715,7 +2715,7 @@ void CheckForKilledPlayers(Player *Play)
     }
   }
 
-  g_ptr_array_free(KilledPlayers, FALSE);
+  g_ptr_array_free(KilledPlayers, TRUE);
 }
 
 /*