-
Notifications
You must be signed in to change notification settings - Fork 132
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
Error Handler Memory Leak #466
Labels
Comments
This call to |
Ah great, there's already a function to do that. I swapped in |
Steven-Roberts
added a commit
that referenced
this issue
May 3, 2024
Closed by #467 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If more than default error handler is added to a
SUNContext
, it does not get free'd inSUNContext_Free
.sundials/src/sundials/sundials_context.c
Line 288 in 2abd63b
sundials/src/sundials/sundials_errors.c
Lines 42 to 47 in 2abd63b
Either
SUNContext_Free
orSUNErrHandler_Destroy
should traverse the list of error handlers throughsunctx->err_handler->previous
to free each.The text was updated successfully, but these errors were encountered: