Skip to content

Commit df0ab55

Browse files
committed
* 'master' of https://github.com/dpronin/fio: - freeing job_sections array of strings upon freeing each its item in init.c
2 parents f27f694 + 593737d commit df0ab55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: init.c

+4
Original file line numberDiff line numberDiff line change
@@ -2185,6 +2185,10 @@ static int __parse_jobs_ini(struct thread_data *td,
21852185
i++;
21862186
}
21872187

2188+
free(job_sections);
2189+
job_sections = NULL;
2190+
nr_job_sections = 0;
2191+
21882192
free(opts);
21892193
out:
21902194
free(string);

0 commit comments

Comments
 (0)