Core/Dungeon Finder: Fix crash in Join
(trying to delete a const iterator) Closes issue 5083 --HG-- branch : trunk
This commit is contained in:
1 parent
4f468f9552
commit
a791df6415
1 file changed
+1
-1
@@ -546,7 +546,7 @@ void LFGMgr::Join(Player* plr, uint8 roles, LfgDungeonSet& dungeons, std::string
|
||||
}
|
||||
if (lockStatusMap)
|
||||
{
|
||||
for (LfgLockStatusMap::const_iterator it = lockStatusMap->begin(); it != lockStatusMap->end(); ++it)
|
||||
for (LfgLockStatusMap::iterator it = lockStatusMap->begin(); it != lockStatusMap->end(); ++it)
|
||||
delete it->second;
|
||||
delete lockStatusMap;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user