fix: free jobs
This commit is contained in:
parent
e6b14fa80e
commit
92398a533a
|
@ -498,6 +498,7 @@ int jobs_expunge(int jobid) {
|
||||||
|
|
||||||
free_pipeline(job_data_array[jobid]->pipeline);
|
free_pipeline(job_data_array[jobid]->pipeline);
|
||||||
job_current_size -= 1;
|
job_current_size -= 1;
|
||||||
|
free(job_data_array[jobid]);
|
||||||
job_data_array[jobid] = NULL;
|
job_data_array[jobid] = NULL;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user