X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;fp=options.c;h=151e7a7e15fe600599ce9157b573454d79b1a98f;hp=7074716ca053b53d23aa27daf8818e59ea6d1fb7;hb=dede9b9fae3ab670c1ca864ac66aea5e997e1f34;hpb=eb902db1f50e66d504040702913c8112d1016bf2 diff --git a/options.c b/options.c index 7074716c..151e7a7e 100644 --- a/options.c +++ b/options.c @@ -5461,6 +5461,19 @@ void fio_options_free(struct thread_data *td) } } +void fio_dump_options_free(struct thread_data *td) +{ + while (!flist_empty(&td->opt_list)) { + struct print_option *p; + + p = flist_first_entry(&td->opt_list, struct print_option, list); + flist_del_init(&p->list); + free(p->name); + free(p->value); + free(p); + } +} + struct fio_option *fio_option_find(const char *name) { return find_option(fio_options, name);