Hi, > > > 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 HTRequest_delete(). 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. Thanks, SandeshReceived on Monday, 24 January 2005 04:51:58 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:44 GMT