summaryrefslogtreecommitdiff
path: root/indra/llcommon/llrefcount.cpp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-08-23 11:06:53 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-08-23 18:16:43 +0200
commit85efb85acfa098998c0f1249320f7e08288efdfc (patch)
tree9f1a438b2095cd365adbc726ce5b9cdf51cd6668 /indra/llcommon/llrefcount.cpp
parent720504595a09a94d10ff07926e8d1274dcab440c (diff)
SL-19299 Viewer crashes after change 'Pick a physics model:' dropdown
Diffstat (limited to 'indra/llcommon/llrefcount.cpp')
-rw-r--r--indra/llcommon/llrefcount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llrefcount.cpp b/indra/llcommon/llrefcount.cpp
index 6852b5536a..3eae252ed5 100644
--- a/indra/llcommon/llrefcount.cpp
+++ b/indra/llcommon/llrefcount.cpp
@@ -30,7 +30,7 @@
#include "llerror.h"
// maximum reference count before sounding memory leak alarm
-const S32 gMaxRefCount = S32_MAX;
+const S32 gMaxRefCount = LL_REFCOUNT_FREE;
LLRefCount::LLRefCount(const LLRefCount& other)
: mRef(0)