HTAnchor_delete() bug/patch ...

"Gregory" <[email protected]>
Newsgroups gmane.comp.lib.libwww
Message-ID <[email protected]>
Hi,
 
When an anchor is deleted, a pointer to it in the adult_table still
remains , so
after calls to HTAnchor_delete() and following HTAnchor_deleteAll ()
(from
HTProfile_delete()) it’s almost always results in a core dumped … 
 
I think the following patch in  the HTAnchor_delete() should be used :
 
PUBLIC BOOL HTAnchor_delete (HTParentAnchor * me)
{
   .
   .
   .
 
==> delete the reference to “me” from the adults table
    delete_parent(me); // line 550
   .
   .
   .
}
 
 
What do you think about it ?
 
 
Gregory
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.