diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-04 22:22:10 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-04 22:22:10 +0100 |
commit | 04d89595efb66560b8123855df95eee9047c5d2c (patch) | |
tree | 34f044241a33f9d59a769a169b51341edaab3b4f /src/ft_get_map.c | |
parent | Fix (diff) | |
download | 42-cub3d-04d89595efb66560b8123855df95eee9047c5d2c.tar.gz 42-cub3d-04d89595efb66560b8123855df95eee9047c5d2c.tar.bz2 42-cub3d-04d89595efb66560b8123855df95eee9047c5d2c.tar.xz 42-cub3d-04d89595efb66560b8123855df95eee9047c5d2c.tar.zst 42-cub3d-04d89595efb66560b8123855df95eee9047c5d2c.zip |
leaks fix
Diffstat (limited to 'src/ft_get_map.c')
-rw-r--r-- | src/ft_get_map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_get_map.c b/src/ft_get_map.c index a0ddfbb..c5ab0d7 100644 --- a/src/ft_get_map.c +++ b/src/ft_get_map.c @@ -94,6 +94,7 @@ int ft_memdel((void**)&line); i++; } + ft_memdel((void**)&line); clist->mapl[((clist->map_w + 1) * i) - 1] = '\0'; ft_free_words(clist->map); clist->map = ft_split(clist->mapl, '\n'); |