summaryrefslogtreecommitdiff
path: root/indra/newview/llcallingcard.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/newview/llcallingcard.cpp
parent6bb9975de1d3122ec83a5391b35a46ec20d66606 (diff)
More memory cleanup of containers after DeletePairedPointer() usage.
Diffstat (limited to 'indra/newview/llcallingcard.cpp')
-rwxr-xr-xindra/newview/llcallingcard.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp
index 56817a51ba..91741c2a77 100755
--- a/indra/newview/llcallingcard.cpp
+++ b/indra/newview/llcallingcard.cpp
@@ -117,6 +117,7 @@ LLAvatarTracker::~LLAvatarTracker()
std::for_each(mObservers.begin(), mObservers.end(), DeletePointer());
mObservers.clear();
std::for_each(mBuddyInfo.begin(), mBuddyInfo.end(), DeletePairedPointer());
+ mBuddyInfo.clear();
}
void LLAvatarTracker::track(const LLUUID& avatar_id, const std::string& name)