coverity fixes

This commit is contained in:
radius 2018-02-07 15:58:41 -05:00
parent ce5b481fc8
commit 11df736662
2 changed files with 2 additions and 0 deletions

View File

@ -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);
RARCH_ERR("[Config]: %s\n", msg_hash_to_str(MSG_CONFIG_DIRECTORY_NOT_SET));
free (config_dir);
return false;
}

View File

@ -3355,6 +3355,7 @@ success:
free(shader_directory);
free(core_path);
free(game_path);
free(parent_path);
config_file_free(new_conf);
return true;
}