1
1

MXM: fix mxm cleanup, should be called for any compat API

fixe by miked, reviewed by yossi

cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r31984.
Этот коммит содержится в:
Mike Dubman 2014-06-12 15:46:38 +00:00
родитель cdf0bcc6d1
Коммит b51a42aeca

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

@ -209,10 +209,7 @@ static int ompi_mtl_mxm_component_open(void)
static int ompi_mtl_mxm_component_close(void)
{
unsigned long cur_ver;
cur_ver = mxm_get_version();
if ((cur_ver == MXM_API) && (ompi_mtl_mxm.mxm_context != NULL)) {
if (ompi_mtl_mxm.mxm_context != NULL) {
mxm_cleanup(ompi_mtl_mxm.mxm_context);
ompi_mtl_mxm.mxm_context = NULL;
OBJ_DESTRUCT(&mca_mtl_mxm_component.mxm_messages);