summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/solver_highs.c1
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);