HTNet.c

Hello, Henrik,

I sent you on December 16 a possible fix for HTNet.c
that fixes segmentation fault in authorization.
With this fix you could keep freeing for HTNet object after
calling 'After' filters.

What do you think about this?

PRIVATE BOOL free_net (HTNet * net)
{
    if (CORE_TRACE) HTTrace("Net Object.. Freeing object %p\n", net);
    if (net) {

/*!!!!!! 
         Do we really need this?      

         HTRequest_setNet(net->request, NULL);
!!!!!!*/

        HT_FREE(net);
        return YES;
    }
    return NO;
}

HTNet_delete() ...

	unregister_net(net);

    	/* Call AFTER filters */
	HTNet_executeAfterAll(request, status);
        free_net(net);


____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1

Received on Thursday, 25 February 1999 10:57:00 UTC