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

Add missing ark_mem frees if step mem malloc fails #453

Merged
merged 5 commits into from
Mar 31, 2024

Conversation

Steven-Roberts
Copy link
Collaborator

No description provided.

@Steven-Roberts
Copy link
Collaborator Author

These missing frees were pretty benign since they only caused memory leaks for certain "create" function errors. To find these sneaky issues more systematically we might need a static analysis tool.

@Steven-Roberts Steven-Roberts marked this pull request as ready for review March 30, 2024 00:40
src/arkode/arkode.c Outdated Show resolved Hide resolved
src/arkode/arkode.c Outdated Show resolved Hide resolved
src/arkode/arkode.c Outdated Show resolved Hide resolved
Co-authored-by: David Gardner <gardner48@llnl.gov>
@gardner48 gardner48 merged commit 36ae768 into develop Mar 31, 2024
21 checks passed
@gardner48 gardner48 deleted the bugfix/step-mem-err-free branch March 31, 2024 19:31
@gardner48 gardner48 added this to the SUNDIALS Next milestone May 12, 2024
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.

None yet

2 participants