[7890] Fixed a memory leak Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-26 16:03:55 -05:00
parent 38f4a60beb
commit 795eaf4598

View File

@@ -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