Oops, when I clean, I should do it thoroughly.
authorRichard Levitte <levitte@openssl.org>
Thu, 16 Nov 2000 22:41:26 +0000 (22:41 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 16 Nov 2000 22:41:26 +0000 (22:41 +0000)
crypto/bn/bn_sqr.c

index bbff1ad72af28c0cac922e394b24ed224495a101..eb52c4e82839d3bb9e0e2b9509270e3ed4a5446e 100644 (file)
@@ -66,7 +66,7 @@ int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
        {
        int max,al;
        int ret = 0;
-       BIGNUM *tmp,*rr,*free_a = NULL;
+       BIGNUM *tmp,*rr;
 
 #ifdef BN_COUNT
        fprintf(stderr,"BN_sqr %d * %d\n",a->top,a->top);
@@ -144,7 +144,6 @@ int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
        if (rr != r) BN_copy(r,rr);
        ret = 1;
  err:
-       if (free_a) BN_free(free_a);
        BN_CTX_end(ctx);
        return(ret);
        }