diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-07-25 06:34:19 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-07-25 07:21:06 +0530 |
commit | 6e282c5261be21f872880e17783792e77599e414 (patch) | |
tree | 60db8b27c7ff538253a83ae243bf71d89a3dc146 /src | |
parent | a6a2e54df6cc1f716ac32f0435fcaa1f1424521e (diff) |
jobid: update size after realloc
Diffstat (limited to 'src')
-rw-r--r-- | src/jobid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jobid.c b/src/jobid.c index 6e4efc1..e16cd81 100644 --- a/src/jobid.c +++ b/src/jobid.c @@ -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; |