Re: [PATCH] Fix memory leaks in incpath.c

2013-02-26 Thread Joseph S. Myers
On Tue, 26 Feb 2013, Jakub Jelinek wrote: > Hi! > > Another file with memory leaks. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > 2013-02-26 Jakub Jelinek > > * incpath.c (add_standard_paths): Use reconcat instead of concat > where appropriate and

[PATCH] Fix memory leaks in incpath.c

2013-02-26 Thread Jakub Jelinek
Hi! Another file with memory leaks. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2013-02-26 Jakub Jelinek * incpath.c (add_standard_paths): Use reconcat instead of concat where appropriate and avoid leaking memory. --- gcc/incpath.c.jj2013-01-11 0