1
1

On close destruct the list of free request only if it was initialized.

This commit was SVN r1295.
Этот коммит содержится в:
George Bosilca 2004-06-16 00:06:55 +00:00
родитель 3302370e35
Коммит 32a3a3a6a1

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

@ -114,9 +114,10 @@ int mca_ptl_self_module_close(void)
mca_ptl_self_module.self_send_requests.super.ompi_list_length);
}
if (NULL != mca_ptl_self_module.self_ptls)
if (NULL != mca_ptl_self_module.self_ptls) {
free(mca_ptl_self_module.self_ptls);
OBJ_DESTRUCT( &(mca_ptl_self_module.self_send_requests) );
}
return OMPI_SUCCESS;
}