X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.c;h=8c48a71c0481b69c8a1235d6a53f481c8bb3279c;hp=ccf0ad8a4dc24c28262014aabdfb42a174b680b8;hb=e9c047a0d8dfc32634b896e1600c6f1aa4174378;hpb=bbfd6b00dea4daee05133c8cb991b78d091df9ae diff --git a/fio.c b/fio.c index ccf0ad8a..8c48a71c 100644 --- a/fio.c +++ b/fio.c @@ -947,6 +947,8 @@ static void cleanup_allocs(struct thread_data *td) free(td->ioscheduler); if (td->sysfs_root) free(td->sysfs_root); + if (td->file_name) + free(td->file_name); } static int create_file(struct thread_data *td, unsigned long long size,