Only release the comm_reg is we have one.
This commit was SVN r16093.
Этот коммит содержится в:
родитель
548a4fe943
Коммит
2e46809995
@ -375,10 +375,10 @@ static int ompi_comm_unregister_cid (uint32_t cid)
|
||||
regcom = (ompi_comm_reg_t *)item;
|
||||
if(regcom->cid == cid) {
|
||||
opal_list_remove_item(&ompi_registered_comms, item);
|
||||
OBJ_RELEASE(regcom);
|
||||
break;
|
||||
}
|
||||
}
|
||||
OBJ_RELEASE(regcom);
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user