aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/AddonMgr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/AddonMgr.cpp b/src/game/AddonMgr.cpp
index da6603e883e..6aad7ef3c0a 100644
--- a/src/game/AddonMgr.cpp
+++ b/src/game/AddonMgr.cpp
@@ -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)