mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
in private case we calloc, need to free that memory
This commit is contained in:
@@ -643,6 +643,7 @@ static int CmdFlashMemInfo(const char *Cmd) {
|
||||
|
||||
if (got_private == false) {
|
||||
mbedtls_rsa_free(rsa);
|
||||
free(rsa);
|
||||
}
|
||||
|
||||
mbedtls_pk_free(&pkctx);
|
||||
|
||||
Reference in New Issue
Block a user