]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshbn.c
Belatedly update the copyright year to 2013.
[PuTTY.git] / sshbn.c
diff --git a/sshbn.c b/sshbn.c
index a2067831baed6011928d826b3aa7e9c36638885a..ec7d3a6d5de57c64a0e341fd87ccb63e853904e9 100644 (file)
--- a/sshbn.c
+++ b/sshbn.c
@@ -1642,6 +1642,10 @@ Bignum modinv(Bignum number, Bignum modulus)
              * Found a common factor between the inputs, so we cannot
              * return a modular inverse at all.
              */
+            freebn(b);
+            freebn(a);
+            freebn(xp);
+            freebn(x);
             return NULL;
         }