1
1

- Fix resource leak in case of error

Coverity CID1066

This commit was SVN r19169.
Этот коммит содержится в:
Rainer Keller 2008-08-06 08:12:12 +00:00
родитель c1f2b8e476
Коммит 33d7c52eed

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

@ -378,7 +378,8 @@ static int connect_accept ( ompi_communicator_t *comm, int root,
new_group_pointer=ompi_group_allocate(rsize);
if( NULL == new_group_pointer ) {
return MPI_ERR_GROUP;
rc = OMPI_ERR_OUT_OF_RESOURCE;
goto exit;
}
/* put group elements in the list */