X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshbn.c;h=6768204bc4cd2ec930799bcc3d250407928d63a2;hb=HEAD;hp=724cf3011583682adf754fe609b59d7a998e5e91;hpb=3ad0c89feca43af8c4e8ddb913bc232ad4fb5521;p=PuTTY.git diff --git a/sshbn.c b/sshbn.c index 724cf301..6768204b 100644 --- a/sshbn.c +++ b/sshbn.c @@ -1461,6 +1461,7 @@ Bignum bignum_from_decimal(const char *decimal) tmp = bigmul(result, Ten); tmp2 = bignum_from_long(*decimal - '0'); + freebn(result); result = bigadd(tmp, tmp2); freebn(tmp); freebn(tmp2);