mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Delete spell_chain query result more early.
This commit is contained in:
parent
4b9af01d42
commit
76997d823e
1 changed files with 2 additions and 2 deletions
|
|
@ -1597,6 +1597,8 @@ void SpellMgr::LoadSpellChains()
|
|||
++count;
|
||||
} while( result->NextRow() );
|
||||
|
||||
delete result;
|
||||
|
||||
// additional integrity checks
|
||||
for(SpellChainMap::iterator i = mSpellChains.begin(); i != mSpellChains.end(); ++i)
|
||||
{
|
||||
|
|
@ -1645,8 +1647,6 @@ void SpellMgr::LoadSpellChains()
|
|||
}
|
||||
}
|
||||
|
||||
delete result;
|
||||
|
||||
sLog.outString();
|
||||
sLog.outString( ">> Loaded %u spell chain records", count );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue