in private case we calloc, need to free that memory
This commit is contained in:
1 parent
64cc21b890
commit
4807fae885
1 file changed
+1
@@ -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