cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Memoryleak when binding to interface?

From: Ståle Kristoffersen <staalebk_at_ifi.uio.no>
Date: Tue, 18 Sep 2012 14:12:02 +0200

On 2012-09-18 at 13:52, Daniel Stenberg wrote:
> On Tue, 18 Sep 2012, Ståle Kristoffersen wrote:
>
> > I'm seeing a memory leak when using libcurl, and I have reduced my testcase
> > to the following: http://pastebin.com/0MxcrKsQ
>
> ...
>
> > ==12235== definitely lost: 27 bytes in 9 blocks
>
> 3 bytes per loop then, "lo" including the zero terminator... Sounds exactly
> like commit 15108d6308466... which is to be included in the upcoming release.

Ah, and that does indeed fix my leak. :)
Thanks for the quick response!

-- 
Ståle Kristoffersen
staalebk_at_ifi.uio.no
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-18