We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14aacdc commit 5c2a4faCopy full SHA for 5c2a4fa
src/tests.c
@@ -142,6 +142,12 @@ void run_context_tests(void) {
142
/* try verifying */
143
CHECK(secp256k1_ecdsa_sig_verify(&vrfy->ecmult_ctx, &sig, &pub, &msg));
144
CHECK(secp256k1_ecdsa_sig_verify(&both->ecmult_ctx, &sig, &pub, &msg));
145
+
146
+ /* cleanup */
147
+ secp256k1_context_destroy(none);
148
+ secp256k1_context_destroy(sign);
149
+ secp256k1_context_destroy(vrfy);
150
+ secp256k1_context_destroy(both);
151
}
152
153
/***** HASH TESTS *****/
0 commit comments