You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LS and J are leaked upon successive calls to kinsolInterface::initialize. Additionally, KINInit leaks if called more than once for a given solverMem.
KINInit should be only called when !flags[initialized_flag], and LS/J should be freed here (or in sundialsInterface::allocate, where that happens with the other variables sundialsInterface manages).
The text was updated successfully, but these errors were encountered:
mcneish1
changed the title
kinsolInterface::initialize leak if called multiple times
kinsolInterface::initialize leaks if called multiple times
Sep 9, 2019
LS and J are leaked upon successive calls to kinsolInterface::initialize. Additionally, KINInit leaks if called more than once for a given solverMem.
KINInit should be only called when
!flags[initialized_flag]
, and LS/J should be freed here (or in sundialsInterface::allocate, where that happens with the other variables sundialsInterface manages).The text was updated successfully, but these errors were encountered: