mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
coverity fixes
This commit is contained in:
parent
ce5b481fc8
commit
11df736662
@ -1424,6 +1424,7 @@ static bool command_event_save_core_config(void)
|
|||||||
{
|
{
|
||||||
runloop_msg_queue_push(msg_hash_to_str(MSG_CONFIG_DIRECTORY_NOT_SET), 1, 180, true);
|
runloop_msg_queue_push(msg_hash_to_str(MSG_CONFIG_DIRECTORY_NOT_SET), 1, 180, true);
|
||||||
RARCH_ERR("[Config]: %s\n", msg_hash_to_str(MSG_CONFIG_DIRECTORY_NOT_SET));
|
RARCH_ERR("[Config]: %s\n", msg_hash_to_str(MSG_CONFIG_DIRECTORY_NOT_SET));
|
||||||
|
free (config_dir);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3355,6 +3355,7 @@ success:
|
|||||||
free(shader_directory);
|
free(shader_directory);
|
||||||
free(core_path);
|
free(core_path);
|
||||||
free(game_path);
|
free(game_path);
|
||||||
|
free(parent_path);
|
||||||
config_file_free(new_conf);
|
config_file_free(new_conf);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user