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/llmessage/llhttpnode.cpp | |
parent | 6bb9975de1d3122ec83a5391b35a46ec20d66606 (diff) |
More memory cleanup of containers after DeletePairedPointer() usage.
Diffstat (limited to 'indra/llmessage/llhttpnode.cpp')
-rwxr-xr-x | indra/llmessage/llhttpnode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmessage/llhttpnode.cpp b/indra/llmessage/llhttpnode.cpp index 5c2f73eccb..f6ccb5bdda 100755 --- a/indra/llmessage/llhttpnode.cpp +++ b/indra/llmessage/llhttpnode.cpp @@ -76,8 +76,8 @@ LLHTTPNode::LLHTTPNode() // virtual LLHTTPNode::~LLHTTPNode() { - std::for_each(impl.mNamedChildren.begin(), impl.mNamedChildren.end(), - DeletePairedPointer()); + std::for_each(impl.mNamedChildren.begin(), impl.mNamedChildren.end(), DeletePairedPointer()); + impl.mNamedChildren.clear(); delete impl.mWildcardChild; |