The fd structure must be freed before breaking the foreach() unless it
leaks its memory
This patch add a free() call in the last break statement.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fio_terminate_threads(TERMINATE_ALL);
fio_abort = 1;
nr_started--;
fio_terminate_threads(TERMINATE_ALL);
fio_abort = 1;
nr_started--;
break;
}
dprint(FD_MUTEX, "done waiting on startup_mutex\n");
break;
}
dprint(FD_MUTEX, "done waiting on startup_mutex\n");