[LLVMbugs] [Bug 7772] New: analyzer reports leaks when data is added to hash table or linked list

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 31 19:18:22 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7772

           Summary: analyzer reports leaks when data is added to hash
                    table or linked list
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: mike at zentific.com
                CC: llvmbugs at cs.uiuc.edu


There should probably be a suppression setting file or way to alias functions
to free, ie list_append() = free() for the scope of a function or something
similar.

You can see more explicitly what I'm talking about here, as a leak is reported
any time allocated data is added to a list or hash table:
http://people.profusion.mobi/~lfelipe/static_analysis/efl/

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list