HTAnchor_delete() bug/patch ...

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
 
 

Received on Thursday, 2 May 2002 13:01:19 UTC