From: Jens Axboe Date: Tue, 27 Mar 2007 18:06:25 +0000 (+0200) Subject: Don't free the string options X-Git-Tag: fio-1.15~11 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=22d662132577b9950753369c94c2662c64ad7385;hp=541d66d70b8fbe9860b31307c0760e6d5f4c78a8 Don't free the string options We need at least ->name, just leave them all alone. Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index aeba5201..f8e89f38 100644 --- a/options.c +++ b/options.c @@ -908,7 +908,9 @@ void options_mem_dupe(struct thread_data *td) __options_mem(td, 1); } -void options_mem_free(struct thread_data *td) +void options_mem_free(struct thread_data fio_unused *td) { +#if 0 __options_mem(td, 0); +#endif }