diff options
author | Richard Linden <none@none> | 2011-04-28 19:33:20 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-04-28 19:33:20 -0700 |
commit | 72c43237fc184d07936edbc4f1dbd18d394c4ce9 (patch) | |
tree | cd3b51b2546fdff847e45af4d41b15875a28b9c3 /indra | |
parent | 443e38f94d3c8538b457304bbe17ed0ab04eeef2 (diff) |
STORM-1039 FIXED Bad iterator access in llavatarnamecache.cpp:564
missed else case
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llmessage/llavatarnamecache.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llmessage/llavatarnamecache.cpp b/indra/llmessage/llavatarnamecache.cpp index e0b77e3105..97f2792686 100644 --- a/indra/llmessage/llavatarnamecache.cpp +++ b/indra/llmessage/llavatarnamecache.cpp @@ -566,6 +566,10 @@ void LLAvatarNameCache::eraseUnrefreshed() << LL_ENDL; sCache.erase(it++); } + else + { + ++it; + } } LL_INFOS("AvNameCache") << sCache.size() << " cached avatar names" << LL_ENDL; } |