summaryrefslogtreecommitdiff
path: root/indra/llmessage/lliosocket.cpp
diff options
context:
space:
mode:
authorDebi King (Dessie) <dessie@lindenlab.com>2011-08-29 12:23:28 -0400
committerDebi King (Dessie) <dessie@lindenlab.com>2011-08-29 12:23:28 -0400
commit5a39c44b56191a4ba516d3c504b3a0a574156e72 (patch)
treee95e5fc6cde0a046ac88abeba4a3410123cae890 /indra/llmessage/lliosocket.cpp
parentf5a890453b0a98636e6267b3272567ae0eecf1e4 (diff)
parent68a15f73c190d2a803ad8b11ed8d9b32bc9e46ee (diff)
merged .hgtags
Diffstat (limited to 'indra/llmessage/lliosocket.cpp')
-rw-r--r--indra/llmessage/lliosocket.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmessage/lliosocket.cpp b/indra/llmessage/lliosocket.cpp
index b717e321bf..ee9379f205 100644
--- a/indra/llmessage/lliosocket.cpp
+++ b/indra/llmessage/lliosocket.cpp
@@ -251,10 +251,12 @@ LLSocket::~LLSocket()
{
ll_debug_socket("Destroying socket", mSocket);
apr_socket_close(mSocket);
+ mSocket = NULL;
}
if(mPool)
{
apr_pool_destroy(mPool);
+ mPool = NULL;
}
}