mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Fix memleak in Mob::TypesTemporaryPets
This commit is contained in:
parent
09d76605f5
commit
f8b6ee296c
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user