diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ft_free_words.c | 2 | ||||
| -rw-r--r-- | src/ft_get_map.c | 1 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/src/ft_free_words.c b/src/ft_free_words.c index 4ea9ef2..99b7daf 100644 --- a/src/ft_free_words.c +++ b/src/ft_free_words.c @@ -24,5 +24,5 @@ void  		ft_memdel((void**)&words[i]);  		i++;  	} -	ft_memdel((void**)words); +	ft_memdel((void**)&words);  } 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'); | 
