[Bug go/47159] New: [cppcheck][PATCH] found missmatch in allocation and deallocation of memory in gcc/gcc/go/gofrontend/import-archive.cc
ettl.martin at gmx dot de
gcc-bugzilla@gcc.gnu.org
Tue Jan 4 00:31:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47159
Summary: [cppcheck][PATCH] found missmatch in allocation and
deallocation of memory in
gcc/gcc/go/gofrontend/import-archive.cc
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: ian@airs.com
ReportedBy: ettl.martin@gmx.de
Created attachment 22889
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22889
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 missmatch in
allocation and deallocation of memory in file
gcc/gcc/go/gofrontend/import-archive.cc. Please refer the attached patch that
fixes the issues.
Best regards from the cppcheck team
Ettl Martin
More information about the Gcc-bugs
mailing list