This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25933] New: memory leaks
- From: "uttamp at us dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2006 22:43:55 -0000
- Subject: [Bug c/25933] New: memory leaks
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi All,
Last week I ran a static analysis tool 'coverity prevet' on the GCC codebase
and found few memory leaks.
1) One of the memory leak is in gcc/loop-unroll.c, "not freeing the dom_bbs
pointer while returning from the function in function
"unroll_loop_runtime_iterations".
2) another memory leak is in tree-ssa-live.c, "not freeing memory allocated by
varaible seen in function "type_var_init".
I'll submit the patches for the above problems.
--
Summary: memory leaks
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uttamp at us dot ibm dot com
GCC build triplet: powerpc64-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25933