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

fix

parent 1f27b9f1
...@@ -36,9 +36,9 @@ TerrainTile::~TerrainTile() ...@@ -36,9 +36,9 @@ 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;
_data = NULL;
} }
delete _data;
_data = NULL;
} }
} }
......
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