[PATCH] Plug a few more leaks
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index bdfbd827806502d5ee85e721b753d4dcb3683748..f81aec599a6a6709be28f205c094a20a86e6bfdf 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -590,6 +590,7 @@ static void *thread_main(void *data)
                int ret = switch_ioscheduler(td);
 
                free(td->ioscheduler);
+               free(td->sysfs_root);
                if (ret)
                        goto err;
        }