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 a couple memory leaks in typemaps #1041

Merged
merged 1 commit into from
Oct 23, 2019
Merged

Fix a couple memory leaks in typemaps #1041

merged 1 commit into from
Oct 23, 2019

Conversation

ChristopherHogan
Copy link
Contributor

This, along with #1039, fixes the memory leaks described in #1038.
@stevengj @oskooi @jeinarsson

Copy link
Contributor

@jeinarsson jeinarsson left a comment

Choose a reason for hiding this comment

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

I can confirm that the first change, in py_list_to_susceptibility_list, does patch the memory leak in #1038.

The second fix I don't have enough insight to comment on. It could be useful with a test or explanation in the commit message with what was broken and how this fixes it.

@stevengj stevengj merged commit 864ed8c into NanoComp:master Oct 23, 2019
@ChristopherHogan ChristopherHogan deleted the chogan/mat_func_leak branch November 17, 2019 23:12
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
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