1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 14:53:21 +02:00

Fixed memory leak

(formal only, the data is allocated during the whole application life anyway)
This commit is contained in:
Martin Tůma 2020-02-20 09:02:01 +01:00
parent 1de9c6ef5d
commit 015a9187a0

View File

@ -52,7 +52,7 @@ bool MapList::loadFile(const QString &path, bool *terminate)
else if (GMAP::isGMAP(path)) {
if (terminate)
*terminate = true;
map = new IMGMap(path);
map = new IMGMap(path, this);
}
} else if (suffix == "jnx")
map = new JNXMap(path, this);