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: i...@airs.com ReportedBy: ettl.mar...@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