X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/71080a1b7e1bb95a65007aa2263562e43a477d32..6a024d24d97cb5d42c0091571735475b849f59f4:/utils/factor.c diff --git a/utils/factor.c b/utils/factor.c index 5f29c1a5..51e38a9f 100644 --- a/utils/factor.c +++ b/utils/factor.c @@ -163,7 +163,7 @@ static void freefactorbase(fbe_v *v) for (i = 0; i < DA_LEN(v); i++) mp_drop(DA(v)[i].n); - DA_DESTROY(v); + DA_DESTROY(v); } static mp *ecm(mp *x) @@ -215,7 +215,7 @@ static void dofactor(mp *x, mp_v *v) { mp *f; - x = smallfactors(x, v); + x = smallfactors(x, v); if (MP_EQ(x, MP_ONE)) return; #ifdef POLLARDRHO @@ -286,4 +286,3 @@ void freefactors(fact_v *v) } DA_DESTROY(v); } -