[LLVMbugs] [Bug 18966] New: False positive for potentially memory leak after transferring ownership to C array storage of > 1 dimension
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 25 11:06:19 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18966
Bug ID: 18966
Summary: False positive for potentially memory leak after
transferring ownership to C array storage of > 1
dimension
Product: clang
Version: 3.3
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: kremenek at apple.com
Reporter: tom+bugzilla at omnigroup.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12143
--> http://llvm.org/bugs/attachment.cgi?id=12143&action=edit
Self contained .m file
When retained objects are assigned into a C array of greater than 1 dimension
in a longer lived scope, the objects a potential leak is reported. I have tried
this with a static global 2d array and an instance ivar. Attached test case
contains both flavors.
Note that the same error does not occur with a 1d array.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140225/d15affb7/attachment.html>
More information about the llvm-bugs
mailing list