btl/vader: fix del_procs bug exposed by the fact we now actually call
del_procs cmr=v1.8.2:reviewer=jsquyres This commit was SVN r31783.
Этот коммит содержится в:
родитель
faf008f527
Коммит
572507f451
@ -12,8 +12,8 @@
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2006-2007 Voltaire. All rights reserved.
|
||||
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2010-2013 Los Alamos National Security, LLC.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2010-2014 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -318,8 +318,10 @@ static int vader_del_procs(struct mca_btl_base_module_t *btl,
|
||||
struct mca_btl_base_endpoint_t **peers)
|
||||
{
|
||||
for (size_t i = 0 ; i < nprocs ; ++i) {
|
||||
fini_vader_endpoint (peers[i]);
|
||||
peers[i] = NULL;
|
||||
if (peers[i]) {
|
||||
fini_vader_endpoint (peers[i]);
|
||||
peers[i] = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
return OMPI_SUCCESS;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user