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

           Summary: [cppcheck][PATCH] found a resource leak in
                    gcc/gcc/gcov-io.c
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ettl.mar...@gmx.de


Created attachment 24467
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24467
proposed patch to fix the resource leak

During a check with the static code analysis tool cppcheck ( available on
sourcforge), i discovered to resource leaks. A resource leak in this case
means, it was forgotten to realease an open filepointer.

Please refer the attached patch.

Best regards from the cppcheck team.

Ettl Martin

Reply via email to