aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dh-gex.c1
1 files changed, 1 insertions, 0 deletions
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;
}