From: Michael Wallner Date: Tue, 22 Feb 2005 12:41:44 +0000 (+0000) Subject: * ditch mem-leak X-Git-Tag: RELEASE_0_5_1~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=39b61c66aae3c34246d4c1ab267160c704c7ada5;p=m6w6%2Fext-http * ditch mem-leak --- 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); } }