Created attachment 170 [details] Removed all the malloc error logic in multiple files
I found four problems, all similar. Here's a C lesson for you: if (!(job_resrcs_ptr->node_bitmap = bit_copy(bitmap))) fatal("bit_copy malloc failure"); Is equivalent to: job_resrcs_ptr->node_bitmap = bit_copy(bitmap); if (!job_resrcs_ptr->node_bitmap) fatal("bit_copy malloc failure"); It is just compressed to save some space and perhaps make the logic more clear. So rather than remove the 2 lines in the first example complete, it needed to be change to: job_resrcs_ptr->node_bitmap = bit_copy(bitmap);