in private case we calloc, need to free that memory

This commit is contained in:
iceman1001
2023-02-21 04:42:24 +01:00
parent 64cc21b890
commit 4807fae885
+1
View File
@@ -643,6 +643,7 @@ static int CmdFlashMemInfo(const char *Cmd) {
if (got_private == false) {
mbedtls_rsa_free(rsa);
free(rsa);
}
mbedtls_pk_free(&pkctx);