mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 09:28:05 +00:00
Fix non-free'd context.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
9cc934282c
commit
9335b088cf
1 changed files with 1 additions and 1 deletions
|
|
@ -317,8 +317,8 @@ int cmd_bip_slip() {
|
|||
&nodes,
|
||||
last_node,
|
||||
&hd_keytype);
|
||||
mbedtls_ecp_keypair_free(&hd_context);
|
||||
if (r != CCID_OK) {
|
||||
mbedtls_ecp_keypair_free(&hd_context);
|
||||
return SW_EXEC_ERROR();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue