summaryrefslogtreecommitdiffstats
path: root/src/ft_p_lcom.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 16:40:06 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 16:40:06 +0200
commitf10225a9f29c333d4d49db09f0bf33f034dc2fe2 (patch)
tree05902024ad2eaaea252af54d0849754bf9bc9151 /src/ft_p_lcom.c
parentLinked list works, not memdeling (diff)
download42-minishell-f10225a9f29c333d4d49db09f0bf33f034dc2fe2.tar.gz
42-minishell-f10225a9f29c333d4d49db09f0bf33f034dc2fe2.tar.bz2
42-minishell-f10225a9f29c333d4d49db09f0bf33f034dc2fe2.tar.xz
42-minishell-f10225a9f29c333d4d49db09f0bf33f034dc2fe2.tar.zst
42-minishell-f10225a9f29c333d4d49db09f0bf33f034dc2fe2.zip
No more leaks
Diffstat (limited to 'src/ft_p_lcom.c')
-rw-r--r--src/ft_p_lcom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_p_lcom.c b/src/ft_p_lcom.c
index f928f5d..15247a2 100644
--- a/src/ft_p_lcom.c
+++ b/src/ft_p_lcom.c
@@ -36,5 +36,6 @@ int8_t
ft_lcom_add_back(&msh->curr, link);
i++;
}
+ ft_delwords(words);
return (0);
}