diff options
| author | simon <none@none> | 2014-02-14 14:57:08 -0800 |
|---|---|---|
| committer | simon <none@none> | 2014-02-14 14:57:08 -0800 |
| commit | 38915f119c5bf3d85084b12939ad815f68fefad0 (patch) | |
| tree | c70dbd37bd6242c028485f5a3a69547d2f528c5c /indra/newview/llcallingcard.cpp | |
| parent | 6bb9975de1d3122ec83a5391b35a46ec20d66606 (diff) | |
More memory cleanup of containers after DeletePairedPointer() usage.
Diffstat (limited to 'indra/newview/llcallingcard.cpp')
| -rwxr-xr-x | indra/newview/llcallingcard.cpp | 1 |
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) |
