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 c/25933] New: memory leaks


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


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