W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2005

Re: SSL Memory Leakage

From: Sandesh Anvekar <sanvekar@controlnet.co.in>
Date: Mon, 24 Jan 2005 09:53:20 +0530
Message-ID: <06d701c501cc$70d87fc0$9b0aa8c0@sandesh>
To: <bancroft@america.net>
Cc: <www-lib@w3.org>


> >
> This fragment allocates memory and never frees it.  Notice that in the
> library function, HTRequest_new/0 defined in HTReqMan.c  there is a call
> to  HT_CALLOC/2 . . . You could move the call to HTRequest_new/0 outside
> the loop and make a call to HTRequest_clear/1 or just add
> HTRequest_delete/1 at the bottom of your loop. The intent of using the
> HTRequest_clear/1 call would be avoidance of somewhat expensive create
> and tear down of memory structures.

I have done this in the request terminator callback function wherein I have
made call to

Also I have compiled this on Rehat Linux 8.0 (2.4.18-14)

Did u have any luck with the Robot example. Please let me know.

Received on Monday, 24 January 2005 04:51:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:56 UTC