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

Reply via email to