diff options
author | Aura Linden <aura@lindenlab.com> | 2014-06-18 11:32:53 -0700 |
---|---|---|
committer | Aura Linden <aura@lindenlab.com> | 2014-06-18 11:32:53 -0700 |
commit | a4d60d6721c62511ba7a26352e3b5d35cd0dbb94 (patch) | |
tree | 082fa1927273936fa07b9b500a7a3548833cbb6f /indra/llplugin/llpluginprocessparent.cpp | |
parent | 4bcf2079f15a09d40f1d7aa61b2768cc54dc427a (diff) | |
parent | 977476171ddcc057d7c28b6c14ae988b8189ed75 (diff) |
Pulled merge from release.
Diffstat (limited to 'indra/llplugin/llpluginprocessparent.cpp')
-rwxr-xr-x | indra/llplugin/llpluginprocessparent.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp index ea0d2b81f1..b5a2588e1e 100755 --- a/indra/llplugin/llpluginprocessparent.cpp +++ b/indra/llplugin/llpluginprocessparent.cpp @@ -131,6 +131,8 @@ LLPluginProcessParent::~LLPluginProcessParent() { // destroy the shared memory region iter->second->destroy(); + delete iter->second; + iter->second = NULL; // and remove it from our map mSharedMemoryRegions.erase(iter); @@ -960,6 +962,8 @@ void LLPluginProcessParent::receiveMessage(const LLPluginMessage &message) { // destroy the shared memory region iter->second->destroy(); + delete iter->second; + iter->second = NULL; // and remove it from our map mSharedMemoryRegions.erase(iter); |