This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/47161] New: [cppcheck][PATCH] found a memory leak in gcc/gcc/go/gofrontend/expressions.cc
- From: "ettl.martin at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 4 Jan 2011 00:40:40 +0000
- Subject: [Bug go/47161] New: [cppcheck][PATCH] found a memory leak in gcc/gcc/go/gofrontend/expressions.cc
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47161
Summary: [cppcheck][PATCH] found a memory leak in
gcc/gcc/go/gofrontend/expressions.cc
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: ian@airs.com
ReportedBy: ettl.martin@gmx.de
Created attachment 22891
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22891
proposed patch to fix the issue
during a check of gcc's sources with the static code analysis tool cppcheck
(http://sourceforge.net/projects/cppcheck/) the tool discoverd a memory leak
in file gcc/gcc/go/gofrontend/expressions.cc. Please refer the attached patch
that fixes the issue.
Best regards from the cppcheck team
Ettl Martin