From ebf35d51b14f224c36a19a453a20885e667f6bec Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Thu, 6 Jun 2013 21:26:57 -0700 Subject: SH-4232 FIX: Interesting: Viewer Crash on Login --- indra/llcommon/lltrace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/llcommon/lltrace.h b/indra/llcommon/lltrace.h index c20e836f77..cfe1273b4b 100644 --- a/indra/llcommon/lltrace.h +++ b/indra/llcommon/lltrace.h @@ -169,7 +169,7 @@ public: LL_FORCE_INLINE static ACCUMULATOR* getPrimaryStorage() { ACCUMULATOR* accumulator = LLThreadLocalSingletonPointer::getInstance(); - return accumulator ? accumulator : sDefaultBuffer->mStorage; + return accumulator ? accumulator : getDefaultBuffer()->mStorage; } // NOTE: this is not thread-safe. We assume that slots are reserved in the main thread before any child threads are spawned -- cgit v1.2.3