summaryrefslogtreecommitdiff
path: root/indra/llmessage/lliosocket.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-08-29 10:36:48 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-08-29 10:36:48 -0400
commitf054d44f9e2e0d152b1a0167b007eb10105487d6 (patch)
tree3cf567add6e532f212192a6c94bfaf17c7eecc76 /indra/llmessage/lliosocket.cpp
parent2e4dcca9e2049aa4a8c29820937b6a956d75e5d8 (diff)
parentd45995b80d6d90aad6714adf3237dc44589169ea (diff)
merg
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;
}
}