mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
Fix memleak in Mob::TypesTemporaryPets
This commit is contained in:
@@ -701,6 +701,9 @@ void Mob::TypesTemporaryPets(uint32 typesid, Mob *targ, const char *name_overrid
|
|||||||
entity_list.AddNPC(npca, true, true);
|
entity_list.AddNPC(npca, true, true);
|
||||||
summon_count--;
|
summon_count--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The other pointers we make are handled elsewhere.
|
||||||
|
delete made_npc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Mob::WakeTheDead(uint16 spell_id, Mob *target, uint32 duration)
|
void Mob::WakeTheDead(uint16 spell_id, Mob *target, uint32 duration)
|
||||||
|
|||||||
Reference in New Issue
Block a user