1
1

Many thanks to Jeff for tracking down the typo causing the orte_job_map_t destuctor to fail!!

Restore the OBJ_RELEASE calls to cleanup map objects.

This commit was SVN r12064.
Этот коммит содержится в:
Ralph Castain 2006-10-07 22:44:00 +00:00
родитель 98dd57b70e
Коммит 2e09128337
9 изменённых файлов: 16 добавлений и 3 удалений

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

@ -1249,6 +1249,9 @@ opal_output(0, "launching apps");
mca_pls_bproc_component.done_launching = true;
cleanup:
chdir(cwd_save);
OBJ_RELEASE(map);
if(NULL != node_array) {
free(node_array);
}

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

@ -630,6 +630,8 @@ int orte_pls_gridengine_launch_job(orte_jobid_t jobid)
cleanup:
OBJ_RELEASE(map);
if (NULL != lib_base) {
free(lib_base);
}

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

@ -582,6 +582,8 @@ static inline int poe_launch_interactive_job(orte_jobid_t jobid)
cleanup:
OBJ_RELEASE(map);
return rc;
}

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

@ -962,7 +962,7 @@ int orte_pls_rsh_launch(orte_jobid_t jobid)
}
cleanup:
/* OBJ_RELEASE(map); */
OBJ_RELEASE(map);
if (NULL != lib_base) {
free(lib_base);

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

@ -378,6 +378,8 @@ static int pls_slurm_launch_job(orte_jobid_t jobid)
/* JMS: how do we catch when srun dies? */
cleanup:
OBJ_RELEASE(map);
while (NULL != (item = opal_list_remove_first(&daemons))) {
OBJ_RELEASE(item);
}

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

@ -426,6 +426,8 @@ static int pls_tm_launch_job(orte_jobid_t jobid)
}
cleanup:
OBJ_RELEASE(map);
if (connected) {
pls_tm_disconnect();
}

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

@ -402,6 +402,8 @@ char **environ;
}
cleanup:
OBJ_RELEASE(map);
if (NULL != nsuri) free(nsuri);
if (NULL != gpruri) free(gpruri);

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

@ -127,7 +127,7 @@ static void orte_rmaps_job_map_destruct(orte_job_map_t* map)
}
OBJ_CLASS_INSTANCE(orte_job_map_t,
opal_list_item_t,
opal_object_t,
orte_rmaps_job_map_construct,
orte_rmaps_job_map_destruct);

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

@ -411,7 +411,7 @@ void orte_totalview_init_after_spawn(orte_jobid_t jobid)
i++;
}
}
OBJ_RELEASE(map);
}
if (orte_debug_flag) {