This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49564] New: [cppcheck][patch] fixed resource and memory leaks in /gcc/gcc/config/alpha/host-osf.c
- From: "ettl.martin at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Jun 2011 15:48:12 +0000
- Subject: [Bug target/49564] New: [cppcheck][patch] fixed resource and memory leaks in /gcc/gcc/config/alpha/host-osf.c
- Auto-submitted: auto-generated
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