Skip to content

Memory leak #5

Description

@geotyper

try to use to find path in platformer game prototype.
Work well, but every time is start Pathfind, memory of used by program increase.
This array of pointers
squares = new Square* [gameMapWidth];
for(int x=0; x<gameMapWidth; x++)
squares[x] = new Square[gameMapHeight];
define once.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions