[Bug other/47170] [cppcheck][PATCH] found resource leaks in gcc/intl/localealias.c

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 4 17:40:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47170

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-04 17:39:49 UTC ---
On Tue, 4 Jan 2011, ettl.martin at gmx dot de wrote:

> during a check of gcc's sources with the static code analysis tool cppcheck
> (http://sourceforge.net/projects/cppcheck/) the tool discoverd resource leaks 
> in file gcc/intl/localealias.c . Please refer the attached patch
> that fixes the issue.

Please see intl/README and send your patch to the gettext maintainers if 
the problem is still present in the version of libintl in current upstream 
gettext.  GCC's copy hasn't been updated for several years.



More information about the Gcc-bugs mailing list