Fixed various memory leaks.

This commit is contained in:
Greyscale
2009-07-23 17:05:04 -07:00
parent 37fe9fae8b
commit d5e4e89ba5
5 changed files with 24 additions and 0 deletions

View File

@ -197,6 +197,8 @@ InfectOnClientDisconnect(client)
// If there are no eligible client's then stop.
if (!eligibleclients)
{
// Destroy handle.
CloseHandle(arrayEligibleClients);
return;
}
@ -416,6 +418,8 @@ public Action:InfectMotherZombie(Handle:timer)
// If there are no eligible client's then stop.
if (!eligibleclients)
{
// Destroy handle.
CloseHandle(arrayEligibleClients);
return;
}