diff options
author | Oz Linden <oz@lindenlab.com> | 2011-08-25 09:26:28 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-08-25 09:26:28 -0400 |
commit | 66cac05cfb1236c3c1607dff27babf873c29a679 (patch) | |
tree | 64a5eee7cf984098a5614563a9f5ad49b520fa17 /indra/newview/llviewerregion.cpp | |
parent | bf906ac9264e21d622e4ce867c40dd53a0da6013 (diff) | |
parent | 2434a39c252ce895e7c659f42c54b9142ad859c2 (diff) |
merge changes for storm-1570
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
-rw-r--r-- | indra/newview/llviewerregion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index db2dc531db..17f908d73f 100644 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -1193,6 +1193,7 @@ LLViewerRegion::eCacheUpdateResult LLViewerRegion::cacheFullUpdate(LLViewerObjec eCacheUpdateResult result = CACHE_UPDATE_ADDED; if (mImpl->mCacheMap.size() > MAX_OBJECT_CACHE_ENTRIES) { + delete mImpl->mCacheMap.begin()->second ; mImpl->mCacheMap.erase(mImpl->mCacheMap.begin()); result = CACHE_UPDATE_REPLACED; |