Skip to content

Grid: destructors and memory leaks #58

Description

@casey-c

Everything in a grid, GridRegions and GridCells, are dynamically allocated but never cleaned up. Deleting the grid object should recursively delete every cell in the root region's array (this should be all the cells that are allocated, since pointers to them are shared between regions, not made anew each time), and also recursively delete the child regions too (making sure not to delete the cells twice).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions