mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-03 01:20:39 +00:00
Free the correct struct element
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
535f36d203
commit
d8f5bc2d3d
@ -130,7 +130,7 @@ void mbedtls_mpi_mod_modulus_free( mbedtls_mpi_mod_modulus *m )
|
|||||||
case MBEDTLS_MPI_MOD_REP_MONTGOMERY:
|
case MBEDTLS_MPI_MOD_REP_MONTGOMERY:
|
||||||
mbedtls_free( m->rep.mont ); break;
|
mbedtls_free( m->rep.mont ); break;
|
||||||
case MBEDTLS_MPI_MOD_REP_OPT_RED:
|
case MBEDTLS_MPI_MOD_REP_OPT_RED:
|
||||||
mbedtls_free( m->rep.mont ); break;
|
mbedtls_free( m->rep.ored ); break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user