cURL / Mailing Lists / curl-library / Single Mail


Re: Memory leak in a libcurl with mbedtls

From: Daniel Stenberg <>
Date: Fri, 18 Mar 2016 22:22:40 +0100 (CET)

On Fri, 18 Mar 2016, Mindaugas Jaraminas wrote:

> Here full libs with debugging symbols

Did you check if Curl_mbedtls_close() is called properly?

Can you figure out why the lines


aren't enough to free this data?

I failed to reproduce this leak (using libcurl from git and mbedTLS/2.2.1),
which I guess is because I don't have any HTTPS sites that actually wants/uses
client certificates:

$ valgrind ./src/curl --cert test_cert.pem --key

List admin:
Received on 2016-03-18