Bug fix in HTAnchor.

Hi all.

I suggest the following modifications for HTAnchor.c

The lines 503-506:

          while ((child=(HTChildAnchor *) HTList_removeLastObject(kids)))
                delete_links((HTAnchor *) child);
          HT_FREE(child->tag);
          HT_FREE(child);

Must be changed to :

          while ((child=(HTChildAnchor *) HTList_removeLastObject(kids))) {
                delete_links((HTAnchor *) child);
	        HT_FREE(child->tag);
          	HT_FREE(child);
          }

Michel.

Note: 
  these lines are in the HTAnchor_delete function which is 
  not called by the HTRequest_delete function.
  (it's better like this for me 'cause I use multiple requests)

Received on Saturday, 5 May 2001 04:25:29 UTC