Skip to content
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

Fix yet more memory leaks from constructor exceptions #658

Merged

Conversation

peterhillman
Copy link
Contributor

two more whack-a-moles

Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
@meshula
Copy link
Contributor

meshula commented Feb 9, 2020

Good, errm, catch ;) The throw/rethrow pattern here kind of suggests that maybe the underlying pointers want to be smart pointers so they clean themselves up in the throw.

@peterhillman peterhillman merged commit 2c37c4b into AcademySoftwareFoundation:master Feb 9, 2020
@peterhillman peterhillman deleted the tiledmemleak branch February 9, 2020 04:52
@cary-ilm cary-ilm added this to the v2.5.0 milestone Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants