err = snd_config_get_bool_ascii(tmp);
if (err < 0) {
SNDERR("field %s is not a boolean", id);
+ free(tmp);
goto _err;
}
lock = err;
+ free(tmp);
continue;
}
if (strcmp(id, "preserve") == 0) {
err = snd_config_get_bool_ascii(tmp);
if (err < 0) {
SNDERR("field %s is not a boolean", id);
+ free(tmp);
goto _err;
}
preserve = err;
+ free(tmp);
continue;
}
if (strcmp(id, "value") == 0) {
err = snd_config_get_bool_ascii(tmp);
if (err < 0) {
SNDERR("field %s is not a boolean", id);
+ free(tmp);
goto _err;
}
optional = err;
+ free(tmp);
continue;
}
SNDERR("Unknown field %s", id);