Skip to content

Commit 2e22a24

Browse files
authored
Merge pull request #7650 from devreal/fix-7617-oscpt2pt-leak
PT2PT osc: don't extra retain datatype
2 parents 9f2f98e + 07d1011 commit 2e22a24

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ompi/mca/osc/base/osc_base_obj_convert.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,14 @@ ompi_osc_base_datatype_create(ompi_proc_t *remote_proc, void **payload)
5454
struct ompi_datatype_t *datatype =
5555
ompi_datatype_create_from_packed_description(payload, remote_proc);
5656
if (NULL == datatype) return NULL;
57-
OMPI_DATATYPE_RETAIN(datatype);
5857
return datatype;
5958
}
6059

6160

6261
/**
63-
* Create datatype based on Fortran Index
62+
* Create operation based on Fortran Index
6463
*
65-
* Create a useable MPI datatype based on it's Fortran index, which is
64+
* Create a useable MPI operation based on it's Fortran index, which is
6665
* globally the same for predefined operations. The op handle is
6766
* owned by the calling process and must be OBJ_RELEASEd when no
6867
* longer in use.

0 commit comments

Comments
 (0)