summaryrefslogtreecommitdiff
path: root/WorldSegment.h
diff options
context:
space:
mode:
authorJonas Ask2009-10-28 02:09:05 +0000
committerJonas Ask2009-10-28 02:09:05 +0000
commit7580d6631d01a9de1f47bbdbc48cdf48c6ffa1e4 (patch)
tree6341cb3ccf3d4cc88200ab9f0138cb3d4f5d209d /WorldSegment.h
parented753c376b5aba0529417e099ae3b32e0e6dac8f (diff)
downloadstonesense-7580d6631d01a9de1f47bbdbc48cdf48c6ffa1e4.tar.gz
stonesense-7580d6631d01a9de1f47bbdbc48cdf48c6ffa1e4.tar.bz2
stonesense-7580d6631d01a9de1f47bbdbc48cdf48c6ffa1e4.tar.xz
Fixed a major memory leak in MapLoading.cpp.
Fixed a small crash sometimes occurring in Constructions.cpp.
Diffstat (limited to 'WorldSegment.h')
-rw-r--r--WorldSegment.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WorldSegment.h b/WorldSegment.h
index 421634e..66cf88a 100644
--- a/WorldSegment.h
+++ b/WorldSegment.h
@@ -30,6 +30,7 @@ public:
for(uint32_t i = 0; i < num; i++){
free(blocks[i]);
}
+ blocks.clear();
}
void Dispose(void){