Merge pull request #7650 from devreal/fix-7617-oscpt2pt-leak
PT2PT osc: don't extra retain datatype
Этот коммит содержится в:
Коммит
2e22a247bb
@ -54,15 +54,14 @@ ompi_osc_base_datatype_create(ompi_proc_t *remote_proc, void **payload)
|
||||
struct ompi_datatype_t *datatype =
|
||||
ompi_datatype_create_from_packed_description(payload, remote_proc);
|
||||
if (NULL == datatype) return NULL;
|
||||
OMPI_DATATYPE_RETAIN(datatype);
|
||||
return datatype;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create datatype based on Fortran Index
|
||||
* Create operation based on Fortran Index
|
||||
*
|
||||
* Create a useable MPI datatype based on it's Fortran index, which is
|
||||
* Create a useable MPI operation based on it's Fortran index, which is
|
||||
* globally the same for predefined operations. The op handle is
|
||||
* owned by the calling process and must be OBJ_RELEASEd when no
|
||||
* longer in use.
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user