settings_data: Fix weird object return in setting_data_load_config_path

This commit is contained in:
Lioncash 2014-10-26 12:23:50 -04:00
parent 8e12c7811c
commit 0079173abc

View File

@ -282,12 +282,12 @@ bool setting_data_load_config_path(rarch_setting_t* settings,
config_file_t *cfg = (config_file_t*)config_file_new(path);
if (!cfg)
return NULL;
return false;
setting_data_load_config(settings, cfg);
config_file_free(cfg);
return cfg;
return true;
}
bool setting_data_save_config(rarch_setting_t* settings,