summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-07-08 12:56:22 -0500
committerDave Parks <davep@lindenlab.com>2010-07-08 12:56:22 -0500
commitb056f6d7f7f33542177cc2c118743e2a8950e925 (patch)
tree5d9772afb6172493bef51bf127b724ec359e3a6b /indra/newview/llspatialpartition.cpp
parent11621e88827e57010bf10eea6bdedcd4f1ffa793 (diff)
EXT-8236 Massage code around crash in ~LLSpatialGroup -- looks like heap corruption.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r--indra/newview/llspatialpartition.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index d6e9256fee..86faeeaa73 100644
--- a/indra/newview/llspatialpartition.cpp
+++ b/indra/newview/llspatialpartition.cpp
@@ -300,6 +300,7 @@ LLSpatialGroup::~LLSpatialGroup()
}
delete [] mOcclusionVerts;
+ mOcclusionVerts = NULL;
LLMemType mt(LLMemType::MTYPE_SPACE_PARTITION);
clearDrawMap();