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

Remove extraneous DeleteAthenaArray() calls #559

Closed
felker opened this issue Jan 30, 2024 · 3 comments · Fixed by #560
Closed

Remove extraneous DeleteAthenaArray() calls #559

felker opened this issue Jan 30, 2024 · 3 comments · Fixed by #560

Comments

@felker
Copy link
Contributor

felker commented Jan 30, 2024

After #558, I glanced at the code and noticed 166 calls to DeleteAthenaArray(), and I think they were all added in the radiation merge last year #492, except for 6x in pgen/hgb.cpp and pgen/jgg.cpp. Missed this in reviewing the pull request.

Any issue with removing all of them @yanfeij @c-white @tomidakn ?

@c-white
Copy link
Contributor

c-white commented Jan 30, 2024

I think that would be fine and would make the code more internally consistent.

@yanfeij
Copy link
Contributor

yanfeij commented Jan 30, 2024 via email

@felker
Copy link
Contributor Author

felker commented Jan 31, 2024

nothing explicitly targeting memory usage or leaks in the tst/ or CI setup, I think. At one point I thought I automated Valgrind, but I dont think it is running on our Jenkins tests on stellar right now

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 a pull request may close this issue.

3 participants