public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug go/47160] New: [cppcheck][PATCH] found a memory leak in gcc/gcc/go/gofrontend/import.cc @ 2011-01-04 0:36 ettl.martin at gmx dot de 2011-01-05 5:34 ` [Bug go/47160] " 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:36 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47160 Summary: [cppcheck][PATCH] found a memory leak in gcc/gcc/go/gofrontend/import.cc Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: go AssignedTo: ian@airs.com ReportedBy: ettl.martin@gmx.de Created attachment 22890 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22890 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/import.cc. Please refer the attached patch that fixes the issue. Best regards from the cppcheck team Ettl Martin ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug go/47160] [cppcheck][PATCH] found a memory leak in gcc/gcc/go/gofrontend/import.cc 2011-01-04 0:36 [Bug go/47160] New: [cppcheck][PATCH] found a memory leak in gcc/gcc/go/gofrontend/import.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=47160 --- 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/47160] [cppcheck][PATCH] found a memory leak in gcc/gcc/go/gofrontend/import.cc 2011-01-04 0:36 [Bug go/47160] New: [cppcheck][PATCH] found a memory leak in gcc/gcc/go/gofrontend/import.cc ettl.martin at gmx dot de 2011-01-05 5:34 ` [Bug go/47160] " 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=47160 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:23 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:36 [Bug go/47160] New: [cppcheck][PATCH] found a memory leak in gcc/gcc/go/gofrontend/import.cc ettl.martin at gmx dot de 2011-01-05 5:34 ` [Bug go/47160] " 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).