diff options
author | prep linden <prep@lindenlab.com> | 2011-08-30 09:33:05 -0400 |
---|---|---|
committer | prep linden <prep@lindenlab.com> | 2011-08-30 09:33:05 -0400 |
commit | 6f2820bcd7b7ed06fefeca0e2c34c45ef77e4b62 (patch) | |
tree | 1ba73003f2b299d6ab1a2b968c5d15688be23692 /indra/newview/llviewerregion.cpp | |
parent | 71ac45a28b238bac4ac0cf43ee85f04589ffa116 (diff) | |
parent | 8cef480b96dc779c5879f74224fb0a185ee550f2 (diff) |
merge
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 ad188a4075..ed943964f9 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; |