From 39b61c66aae3c34246d4c1ab267160c704c7ada5 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 22 Feb 2005 12:41:44 +0000 Subject: [PATCH] * ditch mem-leak --- http_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/http_api.c b/http_api.c index 8b80c4d..e2e0420 100644 --- a/http_api.c +++ b/http_api.c @@ -533,6 +533,7 @@ static inline void _http_curl_setopts(CURL *ch, const char *url, HashTable *opti if (qstr.c) { curl_easy_setopt(ch, CURLOPT_COOKIE, qstr.c); + efree(qstr.c); } } -- 2.30.2