1
1

Don't orget to relase the object if we detect an error.

This commit was SVN r11346.
Этот коммит содержится в:
George Bosilca 2006-08-23 02:43:05 +00:00
родитель b4732f557a
Коммит aecdfc80eb

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

@ -61,7 +61,6 @@ int orte_rmgr_base_put_app_context(
/* put context info on the job segment of the registry */ /* put context info on the job segment of the registry */
if(ORTE_SUCCESS != (rc = orte_schema.get_job_segment_name(&segment, jobid))) { if(ORTE_SUCCESS != (rc = orte_schema.get_job_segment_name(&segment, jobid))) {
OBJ_RELEASE(value);
return rc; return rc;
} }
@ -276,7 +275,6 @@ int orte_rmgr_base_set_job_slots(orte_jobid_t jobid, orte_std_cntr_t proc_slots)
/* put context info on the job segment of the registry */ /* put context info on the job segment of the registry */
if(ORTE_SUCCESS != (rc = orte_schema.get_job_segment_name(&segment, jobid))) { if(ORTE_SUCCESS != (rc = orte_schema.get_job_segment_name(&segment, jobid))) {
ORTE_ERROR_LOG(rc); ORTE_ERROR_LOG(rc);
OBJ_RELEASE(value);
return rc; return rc;
} }