Skip to content

TheGameInfo is not properly cleared after a game #3275

Description

@stephanmeesters

We can see assignments of TheGameInfo:

TheGameInfo = TheLAN->GetMyGame();
TheGameInfo = TheGameSpyGame;
TheGameInfo = TheSkirmishGameInfo;
etc.

However on deleting it does not properly clear TheGameInfo leaving a dangling pointer

delete TheSkirmishGameInfo; TheSkirmishGameInfo = nullptr;
delete TheGameSpyGame; TheGameSpyGame = nullptr;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions