Remove a little extra memory that is no longer needed
This commit was SVN r8246.
Этот коммит содержится в:
родитель
c96e4d43c7
Коммит
6b823e3663
@ -73,8 +73,7 @@ void mpi_type_create_struct_f(MPI_Fint *count,
|
||||
int i;
|
||||
OMPI_ARRAY_NAME_DECL(array_of_block_lengths);
|
||||
|
||||
c_type_old_array = malloc(*count * (sizeof(MPI_Datatype) +
|
||||
sizeof(MPI_Aint)));
|
||||
c_type_old_array = malloc(*count * sizeof(MPI_Datatype));
|
||||
if (NULL == c_type_old_array) {
|
||||
*ierr = OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_NO_MEM,
|
||||
FUNC_NAME);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user