Skip to content
Snippets Groups Projects
Commit b2ef026f authored by Morris Jette's avatar Morris Jette
Browse files

Merge pull request #70 from RPI-HPC/fixes-for-slurm-14.03

Fix dead initialization and memory leak in nonstop
parents e6a96399 a8322152
No related branches found
No related tags found
No related merge requests found
...@@ -374,7 +374,7 @@ extern int restore_nonstop_state(void) ...@@ -374,7 +374,7 @@ extern int restore_nonstop_state(void)
uint32_t job_cnt = 0; uint32_t job_cnt = 0;
char *data; char *data;
uint16_t protocol_version = (uint16_t) NO_VAL; uint16_t protocol_version = (uint16_t) NO_VAL;
Buf buffer = init_buf(0); Buf buffer;
int error_code = SLURM_SUCCESS, i, state_fd; int error_code = SLURM_SUCCESS, i, state_fd;
time_t buf_time; time_t buf_time;
job_failures_t *job_fail_ptr = NULL; job_failures_t *job_fail_ptr = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment