diff --git a/src/dh-gex.c b/src/dh-gex.c index f08b3ba3..a52be036 100644 --- a/src/dh-gex.c +++ b/src/dh-gex.c @@ -481,6 +481,7 @@ static int ssh_retrieve_dhgroup(uint32_t pmin, size, &generator, &modulus); + fclose(moduli); if (rc == SSH_ERROR || *size == 0) { goto error; }