cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Memory leak in libcurl7.12.2?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 10 Jan 2005 10:48:12 +0100 (CET)

On Mon, 10 Jan 2005, hzhijun wrote:

> curl does not call OPENSSL_free(peer_CN) to free the peer_CN pointed memory
> and cause memory leak!

*dang!*

Nice report, nice work, nice tracking!

This leak is still present in 7.12.3, and I believe the attached patch
corrects it. Can you verify this?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html

Received on 2005-01-10