summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/factor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/factor.c b/src/factor.c
index 6d1d17a4b..90af1c497 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -573,8 +573,8 @@ static void mp_factor (mpz_t, struct mp_factors *);
static void
mp_factor_init (struct mp_factors *factors)
{
- factors->p = xmalloc (1);
- factors->e = xmalloc (1);
+ factors->p = NULL;
+ factors->e = NULL;
factors->nfactors = 0;
}