From 070144ea27766fc006c48674bc21dd0269b3c015 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 28 Aug 2022 21:08:29 +0200 Subject: worker: fix a crash Found when running in Docker. --- src/worker.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/worker.c') diff --git a/src/worker.c b/src/worker.c index baba9b0..fef6b78 100644 --- a/src/worker.c +++ b/src/worker.c @@ -87,6 +87,7 @@ static int msg_ci_run_handler(struct worker *worker, const struct msg *request) struct proc_output result; int ret = 0; + proc_output_init(&result); ret = msg_ci_run_do(request->argv[1], request->argv[2], &result); proc_output_free(&result); -- cgit v1.2.3