[Bug target/49564] New: [cppcheck][patch] fixed resource and memory leaks in /gcc/gcc/config/alpha/host-osf.c

ettl.martin at gmx dot de gcc-bugzilla@gcc.gnu.org
Tue Jun 28 15:48:00 GMT 2011


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

           Summary: [cppcheck][patch] fixed resource and memory leaks in
                    /gcc/gcc/config/alpha/host-osf.c
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ettl.martin@gmx.de


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

cppcheck revealed two resource leaks and a memory leak in
/gcc/gcc/config/alpha/host-osf.c.

Please refer the attached patch that fixed the issues.

Best regards from the cppcheck team

Martin



More information about the Gcc-bugs mailing list