diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-23 18:57:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-23 18:57:46 +0300 |
commit | a8ef3db9e6f0954ed4ea6c04649035eaaa604287 (patch) | |
tree | 056d037e06c9d9a1618f6f436301e0a828d4839a | |
parent | 2531c621dd62eeb870fd8a095f0634a3e3f4b777 (diff) | |
download | manaverse-a8ef3db9e6f0954ed4ea6c04649035eaaa604287.tar.gz manaverse-a8ef3db9e6f0954ed4ea6c04649035eaaa604287.tar.bz2 manaverse-a8ef3db9e6f0954ed4ea6c04649035eaaa604287.tar.xz manaverse-a8ef3db9e6f0954ed4ea6c04649035eaaa604287.zip |
Remove mapinfo object after load empty atlas.
-rw-r--r-- | src/resources/mapreader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index b4905eb67..f50b7cb03 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -1262,6 +1262,7 @@ void MapReader::loadEmptyAtlas() mEmptyAtlas = Loader::getEmptyAtlas( info->atlas, *info->files); + delete info; } } |