1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed memory leak

This commit is contained in:
Martin Tůma 2020-10-17 14:30:06 +02:00
parent 630a5cea83
commit 7babf734bf

View File

@ -244,6 +244,7 @@ static void removeDuplicitLabel(QList<TextItem *> &labels, const QString &text,
TextItem *item = labels.at(j);
if (tileRect.contains(item->boundingRect()) && *(item->text()) == text) {
labels.removeOne(item);
delete item;
return;
}
}