summaryrefslogtreecommitdiff
path: root/indra/llmessage/lliosocket.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-08-25 09:27:34 -0400
committerOz Linden <oz@lindenlab.com>2011-08-25 09:27:34 -0400
commite6239b7978fb9f05d2c8c7cf42b9277f4a5f7c52 (patch)
tree17080b4ffa8a59a5b9c158edaf9e60f9af2a67b4 /indra/llmessage/lliosocket.cpp
parent66cac05cfb1236c3c1607dff27babf873c29a679 (diff)
parent6484dbf28cb8b6ffa745fe9b26beae58d3c68441 (diff)
merge changes for storm-1571
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;
}
}