vendor/scs/test/problems/small_lp.h in scs-0.3.2 vs vendor/scs/test/problems/small_lp.h in scs-0.4.0

- old
+ new

@@ -42,10 +42,13 @@ success = ABS(perr) < 1e-4 && ABS(derr) < 1e-4 && exitflag == SCS_SOLVED; mu_assert("small_lp: SCS failed to produce outputflag SCS_SOLVED", success); fail = verify_solution_correct(d, k, stgs, &info, sol, exitflag); - SCS(free_data)(d, k, stgs); + SCS(free_data)(d); + SCS(free_cone)(k); SCS(free_sol)(sol); SCS(free_sol)(opt_sol); + scs_free(stgs); + return fail; }