From: Denis Pronin Date: Wed, 9 Mar 2022 10:03:36 +0000 (+0300) Subject: - freeing job_sections array of strings upon freeing each its item in init.c X-Git-Tag: fio-3.30~18^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=593737d9d772d9f49ebf0cf26f869c073ebc4b6e;p=fio.git - freeing job_sections array of strings upon freeing each its item in init.c Signed-off-by: Denis Pronin --- diff --git a/init.c b/init.c index 81c30f8c..b7f866e6 100644 --- a/init.c +++ b/init.c @@ -2185,6 +2185,10 @@ static int __parse_jobs_ini(struct thread_data *td, i++; } + free(job_sections); + job_sections = NULL; + nr_job_sections = 0; + free(opts); out: free(string);