cURL / Mailing Lists / curl-library / Single Mail


Re: Cookie parser leaks memory?

From: Daniel Stenberg <>
Date: Wed, 23 Jan 2008 23:19:56 +0100 (CET)

On Wed, 23 Jan 2008, Igor wrote:

> Everything is fine except that the memory floats out. To make leak
> more perceptible I return a huge cookie (1024bytes) and it is plainly
> visible how curl eats memory.

Ok, attached is a fix that seems to fix the leak for me. It also happened when
clearing session cookies with "SESS" btw.

If you tell me your real name, I'll give you proper credit for this finding!

  Commercial curl and libcurl Technical Support:

Received on 2008-01-23