diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-29 14:52:47 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-29 14:52:47 +0300 |
| commit | 5e7591a2f684bba637e120497a2ba0fdd3db8dda (patch) | |
| tree | 344e55bf37a8bae5a31f231108a20bd57a3f4cb8 /map.c | |
| parent | 7a69d0103dadc08f228d14b27d38df193044bb29 (diff) | |
| download | astar-5e7591a2f684bba637e120497a2ba0fdd3db8dda.tar.xz | |
Make the stack dynamic
Diffstat (limited to 'map.c')
| -rw-r--r-- | map.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -158,6 +158,7 @@ Map rbt_maze_map(size_t width, size_t height, unsigned int seed) { } while (ps_peek(ps).x != beginning_cell.x || ps_peek(ps).y != beginning_cell.y) ; visited_free(visited, height); + ps_free(ps); return map; } |
