summaryrefslogtreecommitdiffstats
path: root/src/s_lcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_lcom.c')
-rw-r--r--src/s_lcom.c3
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);
}