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/llwindow | |
parent | 6bb9975de1d3122ec83a5391b35a46ec20d66606 (diff) |
More memory cleanup of containers after DeletePairedPointer() usage.
Diffstat (limited to 'indra/llwindow')
-rwxr-xr-x | indra/llwindow/lldxhardware.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwindow/lldxhardware.cpp b/indra/llwindow/lldxhardware.cpp index 3579b5d42f..b0f4bc5503 100755 --- a/indra/llwindow/lldxhardware.cpp +++ b/indra/llwindow/lldxhardware.cpp @@ -171,6 +171,7 @@ std::string LLDXDriverFile::dump() LLDXDevice::~LLDXDevice() { for_each(mDriverFiles.begin(), mDriverFiles.end(), DeletePairedPointer()); + mDriverFiles.clear(); } std::string LLDXDevice::dump() @@ -230,6 +231,7 @@ LLDXHardware::LLDXHardware() void LLDXHardware::cleanup() { // for_each(mDevices.begin(), mDevices.end(), DeletePairedPointer()); + // mDevices.clear(); } /* |