Skip to content

[test] Fix leak and reenable getObjects:andKeys:count: tests #17905

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 1 commit into from
Jul 12, 2018

Conversation

lorentey
Copy link
Member

This fixes a spurious leak in i386 simulator test runs, and reenables the tests disabled in #17872. The leak was due to NSDictionary.object(forKey:) returning an autoreleased value whose retain/autorelease wasn't optimized away on i386.

rdar://problem/42114467

@lorentey
Copy link
Member Author

@swift-ci please test

@lorentey
Copy link
Member Author

cc @moiseev

@lorentey lorentey merged commit 520c645 into swiftlang:master Jul 12, 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

Successfully merging this pull request may close these issues.

1 participant