vendor/scs/test/random_socp_prob.c in scs-0.3.2 vs vendor/scs/test/random_socp_prob.c in scs-0.4.0
- old
+ new
@@ -162,11 +162,13 @@
}
if (sol->y) {
scs_printf("scs dua obj = %4f\n", -SCS(dot)(d->b, sol->y, d->m));
}
- 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 0;
}