cURL / Mailing Lists / curl-library / Single Mail

curl-library

[ curl-Bugs-1090091 ] Small memory leak

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 22 Dec 2004 15:01:41 -0800

Bugs item #1090091, was opened at 2004-12-22 15:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1090091&group_id=976

Category: libcurl
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: Small memory leak

Initial Comment:
I found this small leak using valgrind. It leaked 100
bytes after 63000 http requests in my application -)

*** cookie.c~ 2004-10-18 00:21:02.000000000 +0200
--- cookie.c 2004-12-22 23:03:14.021480855 +0100
***************
*** 112,115 ****
--- 112,117 ----
    if(co->value)
      free(co->value);
+ if(co->version)
+ free(co->version);
    if(co->maxage)
      free(co->maxage);

Rune Kleveland, runekl_at_opoint.com

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

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