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

           Summary: failure to report leak due to
                    presentMoviePlayerViewControllerAnimated
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


The following is a leak (Cocoa). The static analyzer fails to report it. But if
you comment out the second line, it *does* report it. This is wrong; nothing
about the second line mitigates the leak, so the analyzer should still report
it even if the second line is present.

MPMoviePlayerViewController* mpvc = [[MPMoviePlayerViewController alloc]
initWithContentURL:urlurl];
[self presentMoviePlayerViewControllerAnimated:mpvc];

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to