summaryrefslogtreecommitdiff
path: root/indra/llmessage/lliosocket.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-08-25 13:27:52 -0400
committerOz Linden <oz@lindenlab.com>2011-08-25 13:27:52 -0400
commit4057afd29161ad9cb69674ee608e48bc9e46a559 (patch)
tree058c53cb19d9b3e85fb0f9b70623c563704cdf17 /indra/llmessage/lliosocket.cpp
parent0f1dea30f827f920d2323d9450826f1a4baaa10b (diff)
parent7c222dfd136a4bb97700b390f8adbef6fe67cf5d (diff)
merge changes for storm-1268
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;
}
}