[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    Re: wanted review: kill some allocas in ld
From:       Marc Espie <espie () nerim ! net>
Date:       2002-11-24 13:19:28
[Download RAW message or body]

On Sun, Nov 24, 2002 at 05:12:23AM -0800, Ted Unangst wrote:
> On Sat, 23 Nov 2002, Marc Espie wrote:
> 
> > +				free(subentry->strings);
> >  				subentry->strings = 0;
> > +			free(subentry->strings);
> > +			subentry->strings = 0;
> 
> while you're at it, why not make these NULL?

Because it's the same thing as 0 in a pointer context, and I don't
want to unnecessarily change the style of those files.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic