diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-07-25 06:37:49 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-07-25 07:21:17 +0530 |
commit | 6682414d323a13ef1362669cee77cbca2c832979 (patch) | |
tree | 9ec8b512efe7960991f885c8517f91a43f135497 | |
parent | 6e282c5261be21f872880e17783792e77599e414 (diff) |
solver_highs: destroy highs instance after use
-rw-r--r-- | src/solver_highs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |