Fix a memory leak in AddonMgr::LoadFromDB(). This not leaks _yet_ because that function not used anywhere(if my eyez are right) but in the future can leaks.
--HG-- branch : trunk
This commit is contained in:
1 parent
721c926229
commit
6855787a83
1 file changed
+1
@@ -48,6 +48,7 @@ void AddonMgr::LoadFromDB()
|
||||
sLog.outError("an error occured while loading the table `addons`");
|
||||
exit(1);
|
||||
}
|
||||
delete result;
|
||||
|
||||
result = CharacterDatabase.PQuery("SELECT name, crc FROM addons");
|
||||
if(!result)
|
||||
|
||||
Reference in new issue
Block a user