fix memory leak

This commit is contained in:
Mylloon 2024-04-19 21:16:04 +02:00
parent dc6a96abe7
commit c0eb95ea38
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -104,6 +104,8 @@ sched_init(int nthreads, int qlen, taskfunc f, void *closure)
} }
} }
free(sched.tasks);
return 1; return 1;
} }