cURL / Mailing Lists / curl-library / Single Mail

curl-library

Curl_close memory leak

From: Алексей Комнин <interfere.work_at_gmail.com>
Date: Wed, 16 Jul 2014 17:57:52 +0400

While investigating a memory leak in our application, I discovered that
connectdata allocated in Curl_connect does not freed in Curl_close.

It seems like conn_free should be called in Curl_close. Please take a look
at the patch attached.

Regards,
Alexey Komnin.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2014-07-18