Applied patch from nathanm32292394 to fix minor memory

leak (#369) - thanks!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2011-08-12 04:24:49 +00:00
parent fb4c533d26
commit 10062e8b44

View File

@@ -239,7 +239,7 @@ NetworkHttp::~NetworkHttp()
if(UserConfigParams::m_internet_status!=NetworkHttp::IPERM_ALLOWED)
return;
pthread_join(*m_thread_id.getData(), NULL);
delete m_thread_id.getAtomic();
pthread_cond_destroy(&m_cond_request);
curl_easy_cleanup(m_curl_session);