Fixed various memory leaks.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user