sprintf(ret, "%s,%s", mbmp, gbmp);
sfree(mbmp);
sfree(gbmp);
+ sfree(matrix);
+ sfree(grid);
return ret;
}
if (equations[j * (wh+1) + wh]) {
*error = "No solution exists for this position";
sfree(equations);
+ sfree(und);
return NULL;
}
break;
sfree(shortest);
sfree(solution);
sfree(equations);
+ sfree(und);
return ret;
}
#endif
const struct game thegame = {
- "Flip", NULL,
+ "Flip", "games.flip",
default_params,
game_fetch_preset,
decode_params,