mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
in private case we calloc, need to free that memory
This commit is contained in:
parent
64cc21b890
commit
4807fae885
1 changed files with 1 additions and 0 deletions
|
@ -643,6 +643,7 @@ static int CmdFlashMemInfo(const char *Cmd) {
|
|||
|
||||
if (got_private == false) {
|
||||
mbedtls_rsa_free(rsa);
|
||||
free(rsa);
|
||||
}
|
||||
|
||||
mbedtls_pk_free(&pkctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue