Don't free the string options
authorJens Axboe <jens.axboe@oracle.com>
Tue, 27 Mar 2007 18:06:25 +0000 (20:06 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 27 Mar 2007 18:06:25 +0000 (20:06 +0200)
We need at least ->name, just leave them all alone.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
options.c

index aeba5201e7303a2d83d9e34e7a3110dc0be2f7a4..f8e89f381bbd171fbed1877066f33c744dd7a6e1 100644 (file)
--- 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
 }