mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Fixed memory leak
(formal only, the data is allocated during the whole application life anyway)
This commit is contained in:
parent
1de9c6ef5d
commit
015a9187a0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user