summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderview.cpp
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2012-07-24 14:42:28 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2012-07-24 14:42:28 -0700
commitdecd8a435d8fb15bab52eec9e447b176e33eb5cf (patch)
treeb9c345d5965f978a500e5712b20d0ca1e7e5a54f /indra/llui/llfolderview.cpp
parentf303eeccf705f677e48c5738e5119352fd86b31d (diff)
CHUI-211: Problem was due to a non-heap variable being deleted and then referenced later (which was found by ProductEngine). Also the crash occurred at a specifc location llpangelobjectinventory::reset() during a static_cast, so now using a dynamic_cast as a safeguard.
Diffstat (limited to 'indra/llui/llfolderview.cpp')
-rw-r--r--indra/llui/llfolderview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp
index 8ade17b763..10729a3eae 100644
--- a/indra/llui/llfolderview.cpp
+++ b/indra/llui/llfolderview.cpp
@@ -266,7 +266,8 @@ LLFolderView::~LLFolderView( void )
mItems.clear();
mFolders.clear();
- delete mViewModel;
+ //product engine bugfix, prevent deletion of non-heap data
+ //delete mViewModel;
mViewModel = NULL;
}