diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c index f7fba3b42d..59be39bb41 100644 --- a/crypto/ecdsa/ecdsatest.c +++ b/crypto/ecdsa/ecdsatest.c @@ -443,7 +443,7 @@ builtin_err: EC_KEY_free(eckey); if (wrong_eckey) EC_KEY_free(wrong_eckey); - if (signature); + if (signature) OPENSSL_free(signature); if (curves) OPENSSL_free(curves);