Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MODIFIED: Using DecRef() instead of "delete this" in Spell::prepare()
FIXED: Memory leaks in Spell::prepare() ==29704== 552 bytes in 1 blocks are definitely lost in loss record 356 of 429 ==29704== at 0x4C28973: operator new(unsigned long) (vg_replace_malloc.c:261) ==29704== by 0x70082E: AIInterface::CastSpell(Unit*, SpellEntry*, SpellCastTargets) (AIInterface.cpp:3357) ==29704== by 0x6F8F56: AIInterface::_UpdateCombat(unsigned int) (AIInterface.cpp:1407)
- Loading branch information