indirect memory bug fix in HTStream.c

In our previous episode, jose.kahan@w3.org said:
>>
>> Henrik,
>> 
>> In HTSream.c, you have:
>> 
>> PRIVATE int HTErrorStream_free (HTStream * me)
>> {
>>    return HT_ERROR;
>> }
>> 
>> This makes HTReader_free and HTReader_close free twice the same streams.
>> I detected this while saving a file using HTPutDocumentAbsolute.
>> 

><Henrik>
>
>Yes, HT_OK is the right answer. Do you mind forwarding your mail to
><www-lib@w3.org>? I have committed the change to CVS:
> 
>        http://db.w3.org/Library/latest.sql
>and
>        http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTStream.c?r1=2.3&r2
>=2.4
> 
>Thanks!
> 
>Henrik

-Jose

Received on Friday, 18 September 1998 09:13:32 UTC