]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshbn.c
Trivial braino in parsing of the port forwarding config data. Was
[PuTTY.git] / sshbn.c
diff --git a/sshbn.c b/sshbn.c
index 2d8359e30b84ebe6d880e08a5938d309c5ce9a60..d0608a3ac3213a4db23f6bb8d7c463ee212f638d 100644 (file)
--- a/sshbn.c
+++ b/sshbn.c
@@ -729,6 +729,7 @@ Bignum bigmuladd(Bignum a, Bignum b, Bignum addend)
     }
     ret[0] = maxspot;
 
+    sfree(workspace);
     return ret;
 }
 
@@ -1009,5 +1010,6 @@ char *bignum_decimal(Bignum x)
     /*
      * Done.
      */
+    sfree(workspace);
     return ret;
 }