diff --git a/src/modules/Gmp/next_prime.c b/src/modules/Gmp/next_prime.c index 660fbc76e8ad058ef293bd34f9d7a23dac92439c..ba47d9c47e18437b4591bc6aae29b809da128ed1 100644 --- a/src/modules/Gmp/next_prime.c +++ b/src/modules/Gmp/next_prime.c @@ -138,7 +138,7 @@ void mpz_next_prime(mpz_t p, mpz_t n, int count, int prime_limit) { mpz_t tmp; - unsigned long *moduli; + unsigned long *moduli = NULL; unsigned long difference; int i; int composite;