Skip to content

Commit

Permalink
jobid: update size of realloc
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanmohd committed Jul 25, 2024
1 parent a6a2e54 commit 9ed7f19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jobid.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ static int dag_id_assign(struct job *j, struct jobid *jobid)
return -errno;
}
jobid->jobs = ret;
jobid->size = newsize;

j->id = jobid->filled++;
jobid->jobs[j->id] = j;
Expand Down

0 comments on commit 9ed7f19

Please sign in to comment.