Skip to content

Conversation

@mbvreddy
Copy link
Contributor

This is fix for bug https://bugs.swift.org/browse/SR-1552

Memory held by NSData._bytes never gets reclaimed as __kCFDontDeallocate is set on NSData always.

@phausler
Copy link
Contributor

This looks about right. I need to double check some other interactions before merging this.

@ianpartridge
Copy link
Contributor

Hi @phausler - any update? Also, could we get this fix into swift-3.0-preview-1-branch?

@djones6
Copy link
Contributor

djones6 commented Jun 9, 2016

Resolving this leak is important to server side applications on Linux.
@phausler - were you able to complete your checks?

@mbvreddy
Copy link
Contributor Author

mbvreddy commented Jul 8, 2016

@phausler can this be merged?

@phausler phausler merged commit 73218c8 into swiftlang:master Jul 8, 2016
@phausler
Copy link
Contributor

phausler commented Jul 8, 2016

From what I can tell we actually had a similar fix already applied to the internal versions of CF, unfortunately I was bogged down with other tasks so there was a bit of delay on getting this in - so it will have to hit in the next cut of prebuilt toolchains

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.

4 participants