solve SIGSEGV on file not found

This commit is contained in:
Denis 2023-11-26 21:25:42 +01:00
parent d7b210fa52
commit dd1fbee754
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03

View file

@ -35,7 +35,8 @@ int fill_config(controller_settings_t *const conf, const char* file) {
fprintf(stderr, "ff_gain (int) configuration not found. Default value will be used.\n");
}
fill_config_err:
config_destroy(&cfg);
fill_config_err:
return res;
}