aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llcurl.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:58 -0500
committerJacek Antonelli2008-08-15 23:44:58 -0500
commit089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch)
tree0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/llmessage/llcurl.cpp
parentSecond Life viewer sources 1.16.0.5 (diff)
downloadmeta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz
Second Life viewer sources 1.17.0.12
Diffstat (limited to 'linden/indra/llmessage/llcurl.cpp')
-rw-r--r--linden/indra/llmessage/llcurl.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/llmessage/llcurl.cpp b/linden/indra/llmessage/llcurl.cpp
index 9d883a7..5eaaab0 100644
--- a/linden/indra/llmessage/llcurl.cpp
+++ b/linden/indra/llmessage/llcurl.cpp
@@ -342,6 +342,12 @@ namespace
342 } 342 }
343 return sMainMulti; 343 return sMainMulti;
344 } 344 }
345
346 void freeMulti()
347 {
348 delete sMainMulti;
349 sMainMulti = NULL;
350 }
345} 351}
346 352
347void 353void
@@ -362,3 +368,8 @@ LLCurl::process()
362 mainMulti()->process(); 368 mainMulti()->process();
363} 369}
364 370
371void LLCurl::cleanup()
372{
373 freeMulti();
374 curl_global_cleanup();
375}