summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcachename.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2014-02-14 14:57:08 -0800
committersimon <none@none>2014-02-14 14:57:08 -0800
commit38915f119c5bf3d85084b12939ad815f68fefad0 (patch)
treec70dbd37bd6242c028485f5a3a69547d2f528c5c /indra/llmessage/llcachename.cpp
parent6bb9975de1d3122ec83a5391b35a46ec20d66606 (diff)
More memory cleanup of containers after DeletePairedPointer() usage.
Diffstat (limited to 'indra/llmessage/llcachename.cpp')
-rwxr-xr-xindra/llmessage/llcachename.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llmessage/llcachename.cpp b/indra/llmessage/llcachename.cpp
index 4e22f62a11..13d779ff83 100755
--- a/indra/llmessage/llcachename.cpp
+++ b/indra/llmessage/llcachename.cpp
@@ -278,6 +278,7 @@ LLCacheName::Impl::Impl(LLMessageSystem* msg)
LLCacheName::Impl::~Impl()
{
for_each(mCache.begin(), mCache.end(), DeletePairedPointer());
+ mCache.clear();
for_each(mReplyQueue.begin(), mReplyQueue.end(), DeletePointer());
mReplyQueue.clear();
}