[cfe-dev] Suppress: Static Analysis false positive.
kremenek at apple.com
Thu Feb 25 09:48:05 PST 2010
The analyzer currently doesn't handle delegates in a clean way, so cases like these are helpful to see. Could you file a bugzilla report with this example? At the very least we can potentially silence the analyzer in these cases, and have it do something smarter over time.
On Feb 25, 2010, at 9:13 AM, Steven Osborn wrote:
> I have a bit of code I'm calling from a Apple's StoreKit library that
> looks something like:
> Where you release the object in the callback function which leads to a
> false positive for a memory leak.
> I've dug through the documentation, but I can't find anything to help
> me suppress this particular warning.
> Thanks in advance,
> Steven Osborn
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev