aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_free_words.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_free_words.c')
-rw-r--r--src/ft_free_words.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_free_words.c b/src/ft_free_words.c
index 3231791..b09b891 100644
--- a/src/ft_free_words.c
+++ b/src/ft_free_words.c
@@ -1,10 +1,11 @@
#include <libft.h>
void
-ft_free_words(char **words)
+ft_free_words(char **words, char *line)
{
size_t i;
+ ft_memdel(line);
i = 0;
while (words[i])
{