This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Cleanup: don't call free(NULL) unnecessarily


On Wed, Mar 6, 2013 at 7:06 AM, Rich Felker <dalias@aerifal.cx> wrote:

> I think there may also be a concern that gcc will eliminate the check
> based on its knowledge of the semantics of free...

That's true.

One way to deal with this is proposed in
http://sourceware.org/ml/libc-alpha/2013-03/msg00141.html

Thanks,
-- 
Paul Pluzhnikov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]