summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/ecdsa/ecdsatest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c
index 87c0a65abf..89b7c9f59c 100644
--- a/crypto/ecdsa/ecdsatest.c
+++ b/crypto/ecdsa/ecdsatest.c
@@ -177,8 +177,7 @@ int fbytes(unsigned char *buf, int num)
ret = 0;
else
ret = 1;
- if (tmp)
- BN_free(tmp);
+ BN_free(tmp);
return ret;
}