mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
fix(Core): Memleaks fixes - Part II. (#5760)
This commit is contained in:
@@ -1308,6 +1308,9 @@ void WorldSession::ProcessQueryCallbackPet()
|
||||
Player* player = GetPlayer();
|
||||
if (!player)
|
||||
{
|
||||
SQLQueryHolder* param;
|
||||
_loadPetFromDBSecondCallback.get(param);
|
||||
delete param;
|
||||
_loadPetFromDBSecondCallback.cancel();
|
||||
}
|
||||
else if (!player->IsInWorld())
|
||||
|
||||
Reference in New Issue
Block a user