Joe Yates's memory leak patches.
[u/mdw/putty] / sshrsa.c
index 5875508..a735517 100644 (file)
--- a/sshrsa.c
+++ b/sshrsa.c
@@ -738,6 +738,7 @@ static int rsa2_verifysig(void *key, char *sig, int siglen,
        if (bignum_byte(out, i) != hash[j])
            ret = 0;
     }
+    freebn(out);
 
     return ret;
 }