This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Memory leak patch-I


Hi Andrew,

Thanks for reviewing the patch.

On Fri, 2006-02-17 at 19:48 -0500, Andrew Pinski wrote:
> > +       if (p_false)
> > +         free (p_false);
> 
> You don't need if (p_false) here as free with a NULL argument will
> just
> ignore it.

Should I modify the patch and re-submit the whole patch?

Thanks,

Uttam


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