cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3463121 ] CURLOPTION_RESOLVE memory leak

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 21 Dec 2011 23:34:37 -0800

Bugs item #3463121, was opened at 2011-12-20 17:41
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3463121&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: tw84452852 (tw84452852)
Assigned to: Daniel Stenberg (bagder)
>Summary: CURLOPTION_RESOLVE memory leak

Initial Comment:
recently,I use CURLOPTION_RESOLVE to add dns cache,but i found that the dns cache i add to doesn't be freed, so have memory leak.After looking at the source code, i found the reason that the dns cache's inuse isn't 0,So i try to change to init it to 0 when cache be added to the global hash table,and it work well.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2011-12-21 00:27

Message:
Confirmed. I've now written a test case that repeats a leak. I'm working on
fix. Thanks for the report!

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3463121&group_id=976
Received on 2011-12-22

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET