aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_warp_level.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 19:03:24 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 19:03:51 +0100
commita35b258841cde7884f5bb71d5ae0951d5e3f27b7 (patch)
treeb7d1c6801ba924e129b3d008091a3f1b2e0adc95 /src/ft_warp_level.c
parentName is Cub3D anyway (diff)
download42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.tar.gz
42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.tar.bz2
42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.tar.xz
42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.tar.zst
42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.zip
fork(3) going well, freed a leak
Diffstat (limited to '')
-rw-r--r--src/ft_warp_level.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c
index 4d1ca12..0d126c1 100644
--- a/src/ft_warp_level.c
+++ b/src/ft_warp_level.c
@@ -20,6 +20,7 @@
static void
ft_del_map(t_map *ml)
{
+ ft_memdel((void**)&ml->filename);
ft_memdel((void**)&ml->no_tex_path);
ft_memdel((void**)&ml->so_tex_path);
ft_memdel((void**)&ml->ea_tex_path);