W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1998

indirect memory bug fix in HTStream.c

From: <jose.kahan@w3.org>
Date: Fri, 18 Sep 1998 15:13:26 +0200 (MET DST)
Message-Id: <199809181313.PAA19199@tuvalu.inrialpes.fr>
To: www-lib@w3.org
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 GMT

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