Age of Survival: memory leak fix

memory leak fix that was causing server to crash often