Re: Memory leaks with realloc()
From: Marlene Stebbins (marlene_at_mail.com)
Date: 02/23/05
- Next message: infobahn: "Re: is this stadard C?"
- Previous message: ben: "Re: number of machine instructions - for algorithm measuring"
- In reply to: Eric Sosman: "Re: Memory leaks with realloc()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Feb 2005 17:10:38 GMT
Eric Sosman wrote:
>
>
> One additional remark: Why write
>
>
>>if(b.sign == POS) a->sign = POS;
>>if(b.sign == NEG) a->sign = NEG;
>
>
> ... instead of `b.sign = a->sign;'?
>
Because I'm simple-minded. After I get everything working I'll try to
get rough edges like that cleaned up. Thanks for your help.
Marlene
- Next message: infobahn: "Re: is this stadard C?"
- Previous message: ben: "Re: number of machine instructions - for algorithm measuring"
- In reply to: Eric Sosman: "Re: Memory leaks with realloc()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]