summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-18 04:40:04 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-18 04:40:04 +0300
commit32acaf8cf9b9fe99346114c233942250a9f061bb (patch)
treee67652276fad96312c2c4480f7c500a391b26559
parent1e20cba6738376ccd39b20386809e3ae195abb40 (diff)
downloadmanaplus-32acaf8cf9b9fe99346114c233942250a9f061bb.tar.gz
manaplus-32acaf8cf9b9fe99346114c233942250a9f061bb.tar.bz2
manaplus-32acaf8cf9b9fe99346114c233942250a9f061bb.tar.xz
manaplus-32acaf8cf9b9fe99346114c233942250a9f061bb.zip
Fix groupdb cleanup.
-rw-r--r--src/resources/db/groupdb.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/resources/db/groupdb.cpp b/src/resources/db/groupdb.cpp
index 00b5c890e..461a26ed4 100644
--- a/src/resources/db/groupdb.cpp
+++ b/src/resources/db/groupdb.cpp
@@ -121,7 +121,6 @@ void GroupDb::loadXmlFile(const std::string &fileName,
void GroupDb::unload()
{
- mGroups.clear();
FOR_EACH (GroupInfosIter, it, mGroups)
{
delete (*it).second;