mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
core: fix last commit
This commit is contained in:
parent
ae749eedee
commit
11aac67c82
@ -64,7 +64,7 @@ static const secp256k1_context *mod_trezorcrypto_secp256k1_context_create(
|
||||
}
|
||||
|
||||
STATIC void mod_trezorcrypto_secp256k1_context_delete(void) {
|
||||
secp256k1_context_destroy(secp256k1_ctx);
|
||||
secp256k1_context_preallocated_destroy(secp256k1_ctx);
|
||||
m_del(uint8_t, secp256k1_ctx_buf, secp256k1_ctx_size);
|
||||
secp256k1_ctx_buf = NULL;
|
||||
secp256k1_ctx = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user