W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2000

Bug in HTNet module ?

From: Amir Khassaia <AKhassaia@vet.com.au>
Date: Wed, 16 Feb 2000 23:50:43 -0500 (EST)
Message-ID: <38AB7DCC.CB178560@vet.com.au>
To: www-lib@w3.org
Hi
I have noticed an inconsistency in the WWWlib 5.2.8 source:
In HTNet.c
function HTNet_delete ( )
it says that the After filters need to be called before the deletion of
the HTNet object (big comment below), but in fact the free(net) call is
before the After filter execution started by HTNet_executeAfterAll ( )

Here is the bit of the code from the function :

    /* Remove object from the table of Net Objects */
 unregister_net(net);
        free_net(net);

     /* Call AFTER filters */
 HTNet_executeAfterAll(request, status);  <= This needs to be moved
between unregister and free calls ?

 /*
 ** Truely delete the HTNet object. Thanks to Mikhail Grouchinski
 ** we now do this after having called the after filters so that
 ** these filters can use the information in the Net object
 */

 People agree with me ?
Received on Thursday, 17 February 2000 03:53:20 GMT

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