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()) its 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