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 tree-optimization/26147] New: another memory leak


After running coverity tool I discovered following memory leaks.

1) in gcc/opts.c: memory never freed allocated by 'new_option' pointer.

2) in gcc/df-core.c: Memory never freed allocated by 'postorder' pointer.

3) in tree-data-ref.c: memory never freed allocated by dist_v and init_v
pointers.

I'll submit the patches to fix these leaks.


-- 
           Summary: another memory leak
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: uttamp at us dot ibm dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26147


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