Skip to content

disable sized deallocation for TextOwner #24628

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
May 29, 2019

Conversation

marcrasi
Copy link

@marcrasi marcrasi commented May 9, 2019

Deallocating strings fails when running with sized deallocation. This fixes it, by doing something similar to other places, e.g. https://github.com/apple/swift-llvm/blob/082dec2e222ca228125e187a726ee87c5b83ad54/lib/Support/MemoryBuffer.cpp#L92

@marcrasi marcrasi requested a review from compnerd May 28, 2019 21:33
@marcrasi
Copy link
Author

@compnerd you edited this file last. Are you a good person to review this, or do you know who would be good?

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nkcsgexi might be anther good target. But, this is just using LLVM infrastructure - and, yes, this looks fine.

@marcrasi
Copy link
Author

@swift-ci please smoke test and merge

1 similar comment
@marcrasi
Copy link
Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit ec71405 into swiftlang:master May 29, 2019
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