fix(Core): Memleaks fixes - Part II. (#5760)
This commit is contained in:
parent
1b6c2004ce
commit
8dd58ebb5b
19 changed files with 138 additions and 127 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue