This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/47158] New: [cppcheck][PATCH] found a memory leaks in gcc/gcc/go/gofrontend/gogo-tree.cc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47158

           Summary: [cppcheck][PATCH] found a memory leaks in
                    gcc/gcc/go/gofrontend/gogo-tree.cc
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: ettl.martin@gmx.de


Created attachment 22888
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22888
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 two memory leaks
in file gcc/gcc/go/gofrontend/gogo-tree.cc. Please refer the attached patch
that fixes the issues.

Best regards from the cppcheck team

Ettl Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]