From 4aae053e41867bafbe6607f6509e9387d6131fd6 Mon Sep 17 00:00:00 2001 From: "David J. Gardner" Date: Mon, 9 Dec 2024 21:53:29 -0800 Subject: [PATCH] free sunsteppers --- test/unit_tests/logging/test_logging_arkode_forcingstep.cpp | 2 ++ test/unit_tests/logging/test_logging_arkode_splittingstep.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/unit_tests/logging/test_logging_arkode_forcingstep.cpp b/test/unit_tests/logging/test_logging_arkode_forcingstep.cpp index 42cf686607..e961e5e434 100644 --- a/test/unit_tests/logging/test_logging_arkode_forcingstep.cpp +++ b/test/unit_tests/logging/test_logging_arkode_forcingstep.cpp @@ -151,6 +151,8 @@ int main(int argc, char* argv[]) ARKodeFree(&arkode_mem); ARKodeFree(&stepper_1); ARKodeFree(&stepper_2); + SUNStepper_Destroy(&steppers[0]); + SUNStepper_Destroy(&steppers[1]); cout << "End ForcingStep Logging test" << endl; diff --git a/test/unit_tests/logging/test_logging_arkode_splittingstep.cpp b/test/unit_tests/logging/test_logging_arkode_splittingstep.cpp index 352a8765b4..5025840009 100644 --- a/test/unit_tests/logging/test_logging_arkode_splittingstep.cpp +++ b/test/unit_tests/logging/test_logging_arkode_splittingstep.cpp @@ -151,6 +151,8 @@ int main(int argc, char* argv[]) ARKodeFree(&arkode_mem); ARKodeFree(&stepper_1); ARKodeFree(&stepper_2); + SUNStepper_Destroy(&steppers[0]); + SUNStepper_Destroy(&steppers[1]); cout << "End SplittingStep Logging test" << endl;