Commit 0f7c1a13 authored by Andreas Bircher's avatar Andreas Bircher

fix

parent 1f27b9f1
...@@ -36,10 +36,10 @@ TerrainTile::~TerrainTile() ...@@ -36,10 +36,10 @@ TerrainTile::~TerrainTile()
if (_data) { if (_data) {
for (int i = 0; i < _gridSizeLat; i++) { for (int i = 0; i < _gridSizeLat; i++) {
delete _data[i]; delete _data[i];
}
delete _data; delete _data;
_data = NULL; _data = NULL;
} }
}
} }
TerrainTile::TerrainTile(QJsonDocument document) TerrainTile::TerrainTile(QJsonDocument document)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment