summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorStinson Linden <stinson@lindenlab.com>2014-04-23 17:57:23 +0100
committerStinson Linden <stinson@lindenlab.com>2014-04-23 17:57:23 +0100
commit5e225213f6bdb7b4ca97abfef99b2249a1f88638 (patch)
tree06ca57dfa9d5a02bf40e819e4d05a122652fe7bf /indra/newview/llappviewer.cpp
parent041f267d6a5a4c6251a113accdf0003301beb6a9 (diff)
MAINT-4009: Adding an ares cleanup call to free the allocated memory.
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rwxr-xr-xindra/newview/llappviewer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 3b9259a966..2b634074d5 100755
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -2019,6 +2019,9 @@ bool LLAppViewer::cleanup()
// Non-LLCurl libcurl library
mAppCoreHttp.cleanup();
+ // NOTE The following call is not thread safe.
+ ll_cleanup_ares();
+
LLFilePickerThread::cleanupClass();
//MUST happen AFTER LLCurl::cleanupClass