Skip to content

Conversation

jimingham
Copy link

We were creating a bunch of LineSequence objects but never deleting
them.

This fixes the leak and changes the code to use std::unique_ptr, to make
it harder to make the same mistake again.

We were creating a bunch of LineSequence objects but never deleting
them.

This fixes the leak and changes the code to use std::unique_ptr, to make
it harder to make the same mistake again.
@fredriss fredriss self-requested a review May 5, 2020 01:42
@jimingham
Copy link
Author

@swift-ci please test

@fredriss fredriss merged commit f962f64 into swiftlang:apple/stable/20200108 May 5, 2020
@jimingham jimingham deleted the line-table-leak branch May 5, 2020 17:48
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