cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Perl interface for curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 9 Oct 2000 13:26:08 +0200 (MET DST)

On Mon, 9 Oct 2000, Georg Horn wrote:

> > Can you comment on the OS platforms you detected the alleged memory
> > leak on?
>
> I'm working on linux, intel platform, kernel 2.2.13, gcc version
> egcs-2.91.66 19990314/Linux (egcs-1.1.2 release), libc-2.1.2.

The leak wasn't OS dependent. It was always present if you used cookies. It
turned out to be a missing free() in the cookie_cleanup() function.

Live with the bug or get your lib/cookie.c update from the CVS repository!
:-)

On the positive side: I added a memory debug system that'll be very helpful
in the future. We'll track down memory leaks very fast the next time.

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-10-09