mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Fix a mem leak.
--HG-- branch : trunk
This commit is contained in:
@@ -344,6 +344,7 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool
|
||||
{
|
||||
m_declinedname->name[i] = fields2[i].GetCppString();
|
||||
}
|
||||
delete result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user