public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/47170] New: [cppcheck][PATCH] found resource leaks in gcc/intl/localealias.c
@ 2011-01-04 16:20 ettl.martin at gmx dot de
  2011-01-04 17:40 ` [Bug other/47170] " joseph at codesourcery dot com
  0 siblings, 1 reply; 2+ messages in thread
From: ettl.martin at gmx dot de @ 2011-01-04 16:20 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [cppcheck][PATCH] found resource leaks in
                    gcc/intl/localealias.c
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ettl.martin@gmx.de


Created attachment 22900
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22900
proposed patch to fix the issues

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.

Best regards from the cppcheck team

Ettl Martin


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug other/47170] [cppcheck][PATCH] found resource leaks in gcc/intl/localealias.c
  2011-01-04 16:20 [Bug other/47170] New: [cppcheck][PATCH] found resource leaks in gcc/intl/localealias.c ettl.martin at gmx dot de
@ 2011-01-04 17:40 ` joseph at codesourcery dot com
  0 siblings, 0 replies; 2+ messages in thread
From: joseph at codesourcery dot com @ 2011-01-04 17:40 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-04 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-04 16:20 [Bug other/47170] New: [cppcheck][PATCH] found resource leaks in gcc/intl/localealias.c ettl.martin at gmx dot de
2011-01-04 17:40 ` [Bug other/47170] " joseph at codesourcery dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).