Skip to content

Fixes 5 static analyser issues in CFPreferences.c #2819

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

Merged
merged 6 commits into from
Aug 24, 2020

Conversation

valeriyvan
Copy link
Contributor

Fixes memory leak in _CFPreferencesURLForStandardDomainWithSafetyLevel
Rename function according to convention to stop static analyzer complaining on overreleasing
Fix memory leak (extra retain) in function fetchVolatileValue
Remove not used variable from function CFPreferencesSetMultiple
Remove not used allocator in function _preferencesDirectoryForUserHostSafetyLevel

@valeriyvan
Copy link
Contributor Author

@spevans would you be so kind to review this PR?

@millenomi
Copy link
Contributor

@swift-ci please test

@millenomi millenomi merged commit bbd6962 into swiftlang:master Aug 24, 2020
@valeriyvan valeriyvan deleted the CFPreferences branch August 25, 2020 09:01
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

Successfully merging this pull request may close these issues.

2 participants