From 0d03a342d93599bac661b90938a0478268881eda Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 24 Oct 2013 18:12:18 +0100 Subject: Clean up cached fetch handles. --- content/fetchers/curl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'content/fetchers') diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c index f812090a1..1dfc44631 100644 --- a/content/fetchers/curl.c +++ b/content/fetchers/curl.c @@ -319,6 +319,8 @@ void fetch_curl_finalise(lwc_string *scheme) h = curl_handle_ring; RING_REMOVE(curl_handle_ring, h); lwc_string_unref(h->host); + curl_easy_cleanup(h->handle); + free(h); } } -- cgit v1.2.3