Skip to content

Retain localeID when constructing a Calendar #675

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
Oct 7, 2016
Merged

Retain localeID when constructing a Calendar #675

merged 1 commit into from
Oct 7, 2016

Conversation

alblue
Copy link
Contributor

@alblue alblue commented Oct 7, 2016

The Calendar destructor releases stored values when the
Calendar is being deallocated, including releasing the localeID.

By default this is an empty string (kCFEmptyString) which results
in multiple Calendars causing a fault when it is over-released.
Ensure that instead the localeID is retained to balance the
release when it is cleaned up.

Issue: SR-2879

The Calendar destructor releases stored values when the
Calendar is being deallocated, including releasing the localeID.

By default this is an empty string (kCFEmptyString) which results
in multiple Calendars causing a fault when it is over-released.
Ensure that instead the localeID is retained to balance the
release when it is cleaned up.

Issue: SR-2879
@parkera
Copy link
Contributor

parkera commented Oct 7, 2016

@swift-ci please test and merge

@swift-ci swift-ci merged commit 528a0e5 into swiftlang:master Oct 7, 2016
@alblue alblue deleted the sr2879 branch October 7, 2016 22:38
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.

3 participants