Closed
Description
If more than default error handler is added to a SUNContext
, it does not get free'd in SUNContext_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
or SUNErrHandler_Destroy
should traverse the list of error handlers through sunctx->err_handler->previous
to free each.
Activity