http://llvm.org/bugs/show_bug.cgi?id=7767
Summary: Leak not found when returning +1 ref object out of a
function
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=5300)
--> (http://llvm.org/bugs/attachment.cgi?id=5300)
test case
If you don't define a function as returning a +1 {CF,NS} ref, returning a +1
ref object should warn.
I just fixed a leak our source base due to this gap in reference tracking
(tested with checker-246).
--
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