summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jobs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jobs.c b/src/jobs.c
index aef9fe5..b5fd31c 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -76,12 +76,11 @@ static int job_read_inputdrvs(struct job *job, cJSON *input_drvs)
goto out_free;
}
}
+ LIST_INSERT_HEAD(&job->deps, dep_job, dlist);
drv_path = NULL;
out_name = NULL;
dep_job = NULL;
-
- LIST_INSERT_HEAD(&job->deps, dep_job, dlist);
}
out_free: