From aba52744e44019bb2e3a30dd03e2cd1a9bf675ea Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 23 Feb 2020 18:34:18 +0000 Subject: [PATCH] primegen: fix a small memory leak. There's always one. --- sshprime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sshprime.c b/sshprime.c index 638eac22..a3abae71 100644 --- a/sshprime.c +++ b/sshprime.c @@ -237,5 +237,6 @@ mp_int *primegen( /* * We have a prime! */ + pcs_free(pcs); return p; }