If it's not the HNP, release the cluster object first and return.
This commit was SVN r18247.
Этот коммит содержится в:
родитель
750ce0152c
Коммит
eb5f5d77cc
@ -153,6 +153,7 @@ static orte_plm_base_module_t *plm_ccp_init(int *priority)
|
||||
|
||||
/* if we are NOT an HNP, then don't select us */
|
||||
if (!orte_process_info.hnp) {
|
||||
pCluster->Release();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -110,6 +110,7 @@ static orte_ras_base_module_t *ras_ccp_init(int* priority)
|
||||
|
||||
/* if we are NOT an HNP, then don't select us */
|
||||
if (!orte_process_info.hnp) {
|
||||
pCluster->Release();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user