From 6e282c5261be21f872880e17783792e77599e414 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 25 Jul 2024 06:34:19 +0530 Subject: jobid: update size after realloc --- src/jobid.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3