public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/47159] New: [cppcheck][PATCH] found missmatch in allocation and deallocation of memory in gcc/gcc/go/gofrontend/import-archive.cc
@ 2011-01-04 0:31 ettl.martin at gmx dot de
2011-01-05 5:34 ` [Bug go/47159] " ian at gcc dot gnu.org
2011-01-05 5:35 ` ian at airs dot com
0 siblings, 2 replies; 3+ messages in thread
From: ettl.martin at gmx dot de @ 2011-01-04 0:31 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug go/47159] [cppcheck][PATCH] found missmatch in allocation and deallocation of memory in gcc/gcc/go/gofrontend/import-archive.cc
2011-01-04 0:31 [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
@ 2011-01-05 5:34 ` ian at gcc dot gnu.org
2011-01-05 5:35 ` ian at airs dot com
1 sibling, 0 replies; 3+ messages in thread
From: ian at gcc dot gnu.org @ 2011-01-05 5:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47159
--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2011-01-05 05:33:37 UTC ---
Author: ian
Date: Wed Jan 5 05:33:32 2011
New Revision: 168504
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168504
Log:
PR go/47158
PR go/47159
PR go/47160
PR go/47161
Fix space leaks.
Patch from Ettl Martin.
Modified:
trunk/gcc/go/gofrontend/expressions.cc
trunk/gcc/go/gofrontend/gogo-tree.cc
trunk/gcc/go/gofrontend/import-archive.cc
trunk/gcc/go/gofrontend/import.cc
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug go/47159] [cppcheck][PATCH] found missmatch in allocation and deallocation of memory in gcc/gcc/go/gofrontend/import-archive.cc
2011-01-04 0:31 [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
2011-01-05 5:34 ` [Bug go/47159] " ian at gcc dot gnu.org
@ 2011-01-05 5:35 ` ian at airs dot com
1 sibling, 0 replies; 3+ messages in thread
From: ian at airs dot com @ 2011-01-05 5:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47159
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2011-01-05 05:35:11 UTC ---
Patch committed. Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-05 5:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-04 0:31 [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
2011-01-05 5:34 ` [Bug go/47159] " ian at gcc dot gnu.org
2011-01-05 5:35 ` ian at airs 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).