1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00

Removed one of the memleaks in curl caused by openssl

This commit is contained in:
Nikolas Garofil 2010-04-22 00:05:56 +02:00
parent 2f838fe676
commit 986e1251ae

View File

@ -36,6 +36,7 @@
#include <curl/curl.h>
#include <curl/types.h>
#include <curl/easy.h>
#include <openssl/engine.h>
/*
* The following code is the conky curl thread lib, which can be re-used to
@ -133,6 +134,7 @@ void ccurl_fetch_data(thread_handle &handle, ccurl_location_ptr &curloc)
curl_easy_cleanup(curl);
}
curl_global_cleanup();
ENGINE_cleanup();
}
}