1
1

Remove a little extra memory that is no longer needed

This commit was SVN r8246.
Этот коммит содержится в:
Jeff Squyres 2005-11-23 11:16:59 +00:00
родитель c96e4d43c7
Коммит 6b823e3663

Просмотреть файл

@ -73,8 +73,7 @@ void mpi_type_create_struct_f(MPI_Fint *count,
int i; int i;
OMPI_ARRAY_NAME_DECL(array_of_block_lengths); OMPI_ARRAY_NAME_DECL(array_of_block_lengths);
c_type_old_array = malloc(*count * (sizeof(MPI_Datatype) + c_type_old_array = malloc(*count * sizeof(MPI_Datatype));
sizeof(MPI_Aint)));
if (NULL == c_type_old_array) { if (NULL == c_type_old_array) {
*ierr = OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_NO_MEM, *ierr = OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_NO_MEM,
FUNC_NAME); FUNC_NAME);