diff --git a/crypto/ecdsa/ecdsa_test.c b/crypto/ecdsa/ecdsa_test.c index 16b474de..12d02d6d 100644 --- a/crypto/ecdsa/ecdsa_test.c +++ b/crypto/ecdsa/ecdsa_test.c @@ -313,6 +313,8 @@ static int test_builtin(FILE *out) { } fprintf(out, "."); fflush(out); + ECDSA_SIG_free(ecdsa_sig); + ecdsa_sig = NULL; OPENSSL_free(signature); signature = NULL;