in private case we calloc, need to free that memory

This commit is contained in:
iceman1001 2023-02-21 04:42:24 +01:00
commit 4807fae885

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