diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-31 23:47:45 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-31 23:47:45 +0200 |
commit | 11aeaaf8deeb265ac98cbabfa501d2da155475d7 (patch) | |
tree | 455cf1bedab878d606a7beea69bf57dfebe76893 /src/s_lcom.c | |
parent | Stuff to fix (diff) | |
download | 42-minishell-11aeaaf8deeb265ac98cbabfa501d2da155475d7.tar.gz 42-minishell-11aeaaf8deeb265ac98cbabfa501d2da155475d7.tar.bz2 42-minishell-11aeaaf8deeb265ac98cbabfa501d2da155475d7.tar.xz 42-minishell-11aeaaf8deeb265ac98cbabfa501d2da155475d7.tar.zst 42-minishell-11aeaaf8deeb265ac98cbabfa501d2da155475d7.zip |
The hell it works, now asan lol
Diffstat (limited to 'src/s_lcom.c')
-rw-r--r-- | src/s_lcom.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/s_lcom.c b/src/s_lcom.c index 088f625..f1ef2a4 100644 --- a/src/s_lcom.c +++ b/src/s_lcom.c @@ -138,7 +138,6 @@ t_lcom return (NULL); } link->next = NULL; - if (words[0] != NULL) - ft_delwords(words); + ft_delwords(words); return (link); } |