Skip to content

delegate false-positive memory leak with NSAlert #2898

@llvmbot

Description

@llvmbot
Bugzilla Link 2526
Resolution DUPLICATE
Resolved on Dec 23, 2018 16:12
Version unspecified
OS MacOS X
Attachments test case
Reporter LLVM Bugzilla Contributor
CC @tkremenek,@haoNoQ

Extended Description

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions