On close destruct the list of free request only if it was initialized.
This commit was SVN r1295.
Этот коммит содержится в:
родитель
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) );
|
||||
OBJ_DESTRUCT( &(mca_ptl_self_module.self_send_requests) );
|
||||
}
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user