From a8ef3db9e6f0954ed4ea6c04649035eaaa604287 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Jul 2016 18:57:46 +0300 Subject: Remove mapinfo object after load empty atlas. --- src/resources/mapreader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; } } -- cgit v1.2.3-60-g2f50