Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory issues detected by the static analyzer #260

Closed
tifroz opened this issue Mar 20, 2018 · 2 comments
Closed

Memory issues detected by the static analyzer #260

tifroz opened this issue Mar 20, 2018 · 2 comments

Comments

@tifroz
Copy link

tifroz commented Mar 20, 2018

I ran the status analyzer on my app, and it picked up a couple of memory-related issues - see screenshot (The app includes the code for NSLogger v1.9.0)

I would venture a PR - but I am not very confident in my abilities with non-arc objC !

screen shot 2018-03-20 at 9 52 02 am

@fpillet
Copy link
Owner

fpillet commented Apr 25, 2018

These issues are false-positive, but the analyzer has no way to figure out. The dispatch_once one is legit, and a good catch though. I'll fix this, thanks!

@fpillet
Copy link
Owner

fpillet commented Oct 3, 2018

I checked this issue and even the dispatch_once one is a false positive. Memory is not transient, in this context, although the static analyzer thinks it is

@fpillet fpillet closed this as completed Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants