summaryrefslogtreecommitdiff
path: root/indra/newview/llcallingcard.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2014-02-21 11:18:12 -0800
committersimon <none@none>2014-02-21 11:18:12 -0800
commitea944fd58f6fcaf29a939ed10e9fd5e07b9fb923 (patch)
treed18a3d5fc4f3220fc6d36d24e8cb1b05630e1f9f /indra/newview/llcallingcard.cpp
parenta23fc01c7b12299297124f4b5b6ad4e7a8145c00 (diff)
parent76913530ed04798536e8469dbeaea9e512d122aa (diff)
Merge downstream code
Diffstat (limited to 'indra/newview/llcallingcard.cpp')
-rwxr-xr-xindra/newview/llcallingcard.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp
index 14583e402d..91741c2a77 100755
--- a/indra/newview/llcallingcard.cpp
+++ b/indra/newview/llcallingcard.cpp
@@ -115,7 +115,9 @@ LLAvatarTracker::~LLAvatarTracker()
{
deleteTrackingData();
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)