[PATCH] Fix memory leaks in incpath.c

Joseph S. Myers joseph@codesourcery.com
Tue Feb 26 23:23:00 GMT 2013


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  <jakub@redhat.com>
> 
> 	* incpath.c (add_standard_paths): Use reconcat instead of concat
> 	where appropriate and avoid leaking memory.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list