summaryrefslogtreecommitdiff
path: root/indra/newview/lllandmarklist.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/lllandmarklist.cpp
parent6bb9975de1d3122ec83a5391b35a46ec20d66606 (diff)
More memory cleanup of containers after DeletePairedPointer() usage.
Diffstat (limited to 'indra/newview/lllandmarklist.cpp')
-rwxr-xr-xindra/newview/lllandmarklist.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lllandmarklist.cpp b/indra/newview/lllandmarklist.cpp
index dd402de394..a92df8250e 100755
--- a/indra/newview/lllandmarklist.cpp
+++ b/indra/newview/lllandmarklist.cpp
@@ -46,6 +46,7 @@ LLLandmarkList gLandmarkList;
LLLandmarkList::~LLLandmarkList()
{
std::for_each(mList.begin(), mList.end(), DeletePairedPointer());
+ mList.clear();
}
LLLandmark* LLLandmarkList::getAsset(const LLUUID& asset_uuid, loaded_callback_t cb)