From 6682414d323a13ef1362669cee77cbca2c832979 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 25 Jul 2024 06:37:49 +0530 Subject: solver_highs: destroy highs instance after use --- src/solver_highs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/solver_highs.c b/src/solver_highs.c index f68216f..806ce4d 100644 --- a/src/solver_highs.c +++ b/src/solver_highs.c @@ -152,6 +152,7 @@ static int solver_highs_unwrapped(double *solution, struct job_clist *q, ret = -EPERM; goto out_free_col_profit; } + Highs_destroy(highs); out_free_col_profit: free(col_profit); -- cgit v1.2.3