Skip to content

Memory leak #5

@geotyper

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.

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