[LLVMbugs] [Bug 2526] New: Static Analyzer: false-positive memory leak

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jul 7 12:08:36 PDT 2008


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

           Summary: Static Analyzer: false-positive memory leak
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: thomascl at free.fr
                CC: llvmbugs at cs.uiuc.edu


I noticed a false-positive memory leak when using the NSAlert class.
The reason is that the NSAlert object can be released later when the
'didEndSelector' is called (the call to beginSheet... is asynchronous).

Please see tha attachment.

Using checker-57.

Thanks


-- 
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