Fixed a potential memory leak in mpi_type_create_struct_f
This commit was SVN r23484.
Этот коммит содержится в:
родитель
71d2749b6b
Коммит
8974d5cc9e
@ -95,4 +95,6 @@ void mpi_type_create_struct_f(MPI_Fint *count,
|
||||
if (MPI_SUCCESS == OMPI_FINT_2_INT(*ierr)) {
|
||||
*newtype = MPI_Type_c2f(c_new);
|
||||
}
|
||||
|
||||
free(c_type_old_array);
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user