summaryrefslogtreecommitdiff
path: root/indra/llcommon/llinstancetracker.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-10-18 13:10:40 -0700
committerRichard Linden <none@none>2013-10-18 13:10:40 -0700
commit99e29b83401a1d6da9dbca03a64c0bfd7bad6298 (patch)
treedd408ef3239e32e5182951881d6adbe449a252b2 /indra/llcommon/llinstancetracker.cpp
parent8b93238b42fdd8b2b6d9b944d4ebb3099f119904 (diff)
crash fix - bad handling of instancetracker iterators
Diffstat (limited to 'indra/llcommon/llinstancetracker.cpp')
-rwxr-xr-xindra/llcommon/llinstancetracker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/llinstancetracker.cpp b/indra/llcommon/llinstancetracker.cpp
index 7ff8324fe3..11fc53f8c8 100755
--- a/indra/llcommon/llinstancetracker.cpp
+++ b/indra/llcommon/llinstancetracker.cpp
@@ -41,6 +41,7 @@ void LLInstanceTrackerBase::StaticBase::incrementDepth()
void LLInstanceTrackerBase::StaticBase::decrementDepth()
{
+ llassert(sIterationNestDepth);
apr_atomic_dec32(&sIterationNestDepth);
}