cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2898304 ] Memory Leak

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 2 Dec 2009 02:20:20 +0000

Bugs item #2898304, was opened at 2009-11-16 05:07
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2898304&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: debug/info output
Group: bad behaviour
>Status: Closed
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Jeremy Harmon ()
Assigned to: Daniel Stenberg (bagder)
Summary: Memory Leak

Initial Comment:
I found a possible memory leak when checking my application with Valgrind. I tested this with the following latest release, here is the version output:

curl 7.19.7 (i686-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

I've attached Valgrind report for the following example:

int main() {
    curl_global_init(CURL_GLOBAL_ALL);
    printf("%s\n", curl_version());
    curl_global_cleanup();
}

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

>Comment By: SourceForge Robot (sf-robot)
Date: 2009-12-02 02:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Daniel Stenberg (bagder)
Date: 2009-11-17 16:11

Message:
Thanks for reporting this issue and helping us improve curl and libcurl.

We're awaiting feedback in this issue. Due to this, I have set the state
of this issue to pending and it will automatically get closed later on
unless we get further info.

Please consider answering the outstanding questions or providing the
missing info so that we can proceed to resolve this issue!

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

Comment By: Daniel Stenberg (bagder)
Date: 2009-11-16 09:16

Message:
They're not memory leaks. The key lines are the ones that in both your logs
say:

==10835== definitely lost: 0 bytes in 0 blocks.
==10835== possibly lost: 0 bytes in 0 blocks.

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

Comment By: Jeremy Harmon ()
Date: 2009-11-16 05:09

Message:
Added a valgrind report for curl when running without any arguments

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

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET