Regarding memory leaks

"sameer" <[email protected]> Wed, 28 Dec 2005 20:06:41 +0530
Newsgroups gmane.comp.lib.libwww
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------=_NextPart_000_001A_01C60BEA.37FB0B90
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit


Hi ,
 
I am working on memory leaks in IP telephones which are using libwww as a
library. I found some memory leak in HTAnchor_findAddress function in
HTAnchor.c. In this function when new anchor is getting created, the pointer
to the anchor is not getting freed. This pointer is returned from the
function, but afterwards also its not getting freed. May I know in what
function shall I free it so that it will not be referred after that. 
 
Regards,
Sameer Joshi



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com
------=_NextPart_000_001A_01C60BEA.37FB0B90
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D281383014-28122005>Hi=0D
,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D281383014-28122005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D281383014-28122005>I am=
 working on=0D
memory leaks in IP telephones which are using libwww as a library. I found=
 some=0D
memory leak in HTAnchor_findAddress function in HTAnchor.c. In this=
 function=0D
when new anchor is getting created, the pointer to the anchor is not=
 getting=0D
freed. This pointer is returned from the function, but afterwards also its=
 not=0D
getting freed. May I know in what function shall I free it so that it will=
 not=0D
be referred after that. </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D281383014-28122005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D281383014-28122005>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D281383014-28122005>Sameer=0D
Joshi</SPAN></FONT></DIV></BODY></HTML>

<table><tr><td bgcolor=3D#ffffff><font color=3D#000000><br>
The information contained in this electronic message and any attachments to=
 this message are intended for the exclusive use of the addressee(s) and=
 may contain proprietary, confidential or privileged information. If you=
 are not the intended recipient, you should not disseminate, distribute or=
 copy this e-mail. Please notify the sender immediately and destroy all=
 copies of this message and any attachments. <br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient=
 should check this email and any attachments for the presence of viruses.=
 The company accepts no liability for any damage caused by any virus=
 transmitted by this email.<br>
 <br>
www.wipro.com<br>
</font></td></tr></table>
------=_NextPart_000_001A_01C60BEA.37FB0B90--