From 04d89595efb66560b8123855df95eee9047c5d2c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 4 Feb 2020 22:22:10 +0100 Subject: leaks fix --- src/ft_get_map.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ft_get_map.c') 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'); -- cgit v1.2.3