fixed renaming of mpcf_freefold to mpcf_all_free

This commit is contained in:
Daniel Holden
2020-07-19 08:53:43 -04:00
parent 37c4de35a3
commit 41aecb485e
2 changed files with 2 additions and 3 deletions

3
mpc.c
View File

@@ -2622,8 +2622,7 @@ static mpc_val_t *mpcf_nth_free(int n, mpc_val_t **xs, int x) {
mpc_val_t *mpcf_fst_free(int n, mpc_val_t **xs) { return mpcf_nth_free(n, xs, 0); }
mpc_val_t *mpcf_snd_free(int n, mpc_val_t **xs) { return mpcf_nth_free(n, xs, 1); }
mpc_val_t *mpcf_trd_free(int n, mpc_val_t **xs) { return mpcf_nth_free(n, xs, 2); }
mpc_val_t *mpcf_freefold(int n, mpc_val_t **xs) {
mpc_val_t *mpcf_all_free(int n, mpc_val_t** xs) {
int i;
for (i = 0; i < n; i++) {
free(xs[i]);