W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

Bug fix in HTAnchor.

From: Michel Philip <philipm@altern.org>
Date: Sat, 05 May 2001 10:25:12 +0200
Message-ID: <3AF3B8E8.771DEDA@altern.org>
To: www-lib@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:39 GMT