}
case FIO_OPT_STR_VAL_TIME:
is_time = 1;
- fallthrough;
+ fio_fallthrough;
case FIO_OPT_ULL:
case FIO_OPT_INT:
case FIO_OPT_STR_VAL:
if (o->off1) {
cp = td_var(data, o, o->off1);
+ if (*cp)
+ free(*cp);
*cp = strdup(ptr);
if (strlen(ptr) > o->maxlen - 1) {
log_err("value exceeds max length of %d\n",
}
case FIO_OPT_DEPRECATED:
ret = 1;
- fallthrough;
+ fio_fallthrough;
case FIO_OPT_SOFT_DEPRECATED:
log_info("Option %s is deprecated\n", o->name);
break;