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 target/49564] New: [cppcheck][patch] fixed resource and memory leaks in /gcc/gcc/config/alpha/host-osf.c


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


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