From: Jens Axboe Date: Mon, 12 Sep 2016 01:14:10 +0000 (-0600) Subject: init: pass in right pointer to def thread options free X-Git-Tag: fio-2.14~9 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=5e333ada464c885d2a33a30e98812bfb666e6052 init: pass in right pointer to def thread options free Fixes: a609f12a1701 ("options: remove dependency of 'o' being first in 'td'") Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index 4b4a86a6..bc17b402 100644 --- a/init.c +++ b/init.c @@ -309,7 +309,7 @@ static void free_shm(void) free(trigger_remote_cmd); trigger_file = trigger_cmd = trigger_remote_cmd = NULL; - options_free(fio_options, &def_thread); + options_free(fio_options, &def_thread.o); fio_filelock_exit(); scleanup(); }