aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 16:42:53 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 16:42:53 +0100
commit7a1f24cea4b042ced216a1aabb66d6d531c1bf65 (patch)
tree56f90e24eb67cead445710bec601a88805026943 /src/ft_init_map.c
parentYES (diff)
download42-cub3d-7a1f24cea4b042ced216a1aabb66d6d531c1bf65.tar.gz
42-cub3d-7a1f24cea4b042ced216a1aabb66d6d531c1bf65.tar.bz2
42-cub3d-7a1f24cea4b042ced216a1aabb66d6d531c1bf65.tar.xz
42-cub3d-7a1f24cea4b042ced216a1aabb66d6d531c1bf65.tar.zst
42-cub3d-7a1f24cea4b042ced216a1aabb66d6d531c1bf65.zip
Music no leak
Diffstat (limited to 'src/ft_init_map.c')
-rw-r--r--src/ft_init_map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c
index 13448c6..c611ba2 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -26,6 +26,7 @@ static int8_t
!(mlist->nl_tex_path = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->nlevel_path = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->music_path = (char*)ft_calloc(1, sizeof(char))) ||
+ !(mlist->music_cmd = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->mapl = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->map = (char**)ft_calloc(2, sizeof(char*))) ||
!(mlist->map[0] = (char*)ft_calloc(1, sizeof(char))))