1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

core: fix last commit

(cherry picked from commit 11aac67c82)
This commit is contained in:
Pavol Rusnak 2019-05-27 17:45:06 +02:00
parent 876dbd9215
commit fae234e2d6
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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;