diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 00:36:54 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 00:37:13 +0100 |
commit | 1bfb92324f267291f556cb464ea42a07d3c8224a (patch) | |
tree | 4d1b5c1b0d06340682f920e852681fa38c21e4ed /src/ft_init_lists.c | |
parent | Merge branch 'floor-opti-smart' (diff) | |
download | 42-cub3d-1bfb92324f267291f556cb464ea42a07d3c8224a.tar.gz 42-cub3d-1bfb92324f267291f556cb464ea42a07d3c8224a.tar.bz2 42-cub3d-1bfb92324f267291f556cb464ea42a07d3c8224a.tar.xz 42-cub3d-1bfb92324f267291f556cb464ea42a07d3c8224a.tar.zst 42-cub3d-1bfb92324f267291f556cb464ea42a07d3c8224a.zip |
Freed leaks
Diffstat (limited to '')
-rw-r--r-- | src/ft_init_lists.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 82f5c0e..bd2ae74 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -76,8 +76,6 @@ static int8_t cl->f_rgb = ft_init_rgb(); cl->c_rgb = ft_init_rgb(); cl->rlist = ft_init_s_ray(); - if (!(cl->rlist.wall_dist_tab = (float*)malloc(1 * sizeof(float)))) - return (-1); cl->currlvl = 0; cl->walltexgood = 0; ft_init_funptr(cl); |