From 3e9872a297c3cf3f929e688e0e89a78f6bc050f5 Mon Sep 17 00:00:00 2001 From: Kelly Washington Date: Wed, 30 May 2007 17:39:09 +0000 Subject: merge -r61423:62602 svn/branches/maintenance --> release --- indra/llmessage/llcurl.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'indra/llmessage/llcurl.cpp') diff --git a/indra/llmessage/llcurl.cpp b/indra/llmessage/llcurl.cpp index 3c8ebaeba1..ffc15d45f7 100644 --- a/indra/llmessage/llcurl.cpp +++ b/indra/llmessage/llcurl.cpp @@ -322,6 +322,12 @@ namespace } return sMainMulti; } + + void freeMulti() + { + delete sMainMulti; + sMainMulti = NULL; + } } void @@ -342,3 +348,8 @@ LLCurl::process() mainMulti()->process(); } +void LLCurl::cleanup() +{ + freeMulti(); + curl_global_cleanup(); +} -- cgit v1.3