diff options
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'); |