Skip to content

Commit

Permalink
solver_highs: destroy highs instance after use
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanmohd committed Jul 25, 2024
1 parent 9ed7f19 commit abab335
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/solver_highs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit abab335

Please sign in to comment.