Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions orte/mca/state/base/state_base_fns.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,7 @@ void orte_state_base_check_all_complete(int fd, short args, void *cbdata)
/* this was a debugger daemon. notify that a debugger has detached */
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_DEBUGGER_DETACH);
}
opal_hash_table_set_value_uint32(orte_job_data, jdata->jobid, NULL);
OBJ_RELEASE(jdata);
}
}
Expand Down
5 changes: 5 additions & 0 deletions orte/mca/state/dvm/state_dvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,5 +457,10 @@ static void check_complete(int fd, short args, void *cbdata)
static void cleanup_job(int sd, short args, void *cbdata)
{
orte_state_caddy_t *caddy = (orte_state_caddy_t*)cbdata;
orte_job_t *jdata = caddy->jdata;

/* remove this object from the job array */
opal_hash_table_set_value_uint32(orte_job_data, jdata->jobid, NULL);

OBJ_RELEASE(caddy);
}
2 changes: 1 addition & 1 deletion orte/tools/orte-dvm/orte-dvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ static void send_callback(int status, orte_process_name_t *peer,

OBJ_RELEASE(buffer);
/* cleanup the job object */
opal_hash_table_set_value_uint32(orte_job_data, jdata->jobid, NULL);
OBJ_RELEASE(jdata);
}

Expand Down Expand Up @@ -530,4 +531,3 @@ static void notify_requestor(int sd, short args, void *cbdata)
* up in the send callback */
OBJ_RELEASE(caddy);
}