W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

Re: Memory leak in HTAccess.c

From: <jose.kahan@w3.org>
Date: Thu, 27 Jul 2000 16:03:13 +0200 (MET DST)
Message-Id: <200007271403.QAA13325@tuvalu.inrialpes.fr>
To: "Kallweit, Heiner" <Heiner.Kallweit@commerzbank.com>
CC: "'www-lib@w3.org'" <www-lib@w3.org>
In our previous episode, Kallweit, Heiner said:
> There is a memory leak in HTAccess.c about line 690 when form_url_encode
> returns a malloc'd pointer that doesn't get freed.
> Insert a HT_FREE(form_encoded) as shown.

As shown where? Your mail is missing the example :)

I can't add it right after because the allocated string is being copied to the
anchor structure.

-Jose
Received on Thursday, 27 July 2000 10:03:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:37 GMT