Bug in HTNet module ?

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 UTC