[7890] Fixed a memory leak Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
1 parent
38f4a60beb
commit
795eaf4598
1 file changed
+3
@@ -14256,7 +14256,10 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder )
|
||||
|
||||
// load home bind and check in same time class/race pair, it used later for restore broken positions
|
||||
if(!_LoadHomeBind(holder->GetResult(PLAYER_LOGIN_QUERY_LOADHOMEBIND)))
|
||||
{
|
||||
delete result;
|
||||
return false;
|
||||
}
|
||||
|
||||
InitPrimaryProffesions(); // to max set before any spell loaded
|
||||
|
||||
|
||||
Reference in new issue
Block a user