mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Fix memory leak
This commit is contained in:
parent
d677b94241
commit
5e5133087a
@ -643,7 +643,7 @@ static bool rarch_game_specific_options(char **output)
|
||||
*output = game_path;
|
||||
return true;
|
||||
}
|
||||
|
||||
config_file_free(option_file);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -1256,7 +1256,6 @@ static int action_ok_option_create(const char *path,
|
||||
|
||||
const char *core_name = NULL;
|
||||
const char *game_name = NULL;
|
||||
config_file_t *option_file = NULL;
|
||||
char core_path[PATH_MAX_LENGTH] = {0};
|
||||
char game_path[PATH_MAX_LENGTH] = {0};
|
||||
char config_directory[PATH_MAX_LENGTH] = {0};
|
||||
|
Loading…
x
Reference in New Issue
Block a user