diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 16:43:22 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 16:43:22 +0100 |
commit | 504d231429e2a5d2b31a876645b590bb4a6a03f6 (patch) | |
tree | 415c7d89cfcc8cdb5802a9ae0bdbd1bb71ca823c /backend/Dungeon.cpp | |
parent | 71380426426dffe787d1704a8fd639c4b1bbfad3 (diff) |
WIP battle the memory leaks
Diffstat (limited to 'backend/Dungeon.cpp')
-rw-r--r-- | backend/Dungeon.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/backend/Dungeon.cpp b/backend/Dungeon.cpp index 3de2f11..66a1fa3 100644 --- a/backend/Dungeon.cpp +++ b/backend/Dungeon.cpp @@ -1,5 +1,16 @@ +#include "Location.h" #include "Dungeon.h" #include "RNG.h" +#include "util.h" + + +Dungeon::Dungeon() { + +} + +Dungeon::~Dungeon() { + safe_free(this->locations); +} void Dungeon::update() { |