summaryrefslogtreecommitdiffstats
path: root/src/p_lcom.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-27 16:14:40 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-27 16:14:40 +0200
commitabc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe (patch)
tree091496cdf4a2c89cb6b30141fbbed8f1b3ab3403 /src/p_lcom.c
parentTODO update (diff)
download42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.tar.gz
42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.tar.bz2
42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.tar.xz
42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.tar.zst
42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.zip
Freed pipe leaks on builtins
Diffstat (limited to '')
-rw-r--r--src/p_lcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_lcom.c b/src/p_lcom.c
index 13b4d11..bd5edcb 100644
--- a/src/p_lcom.c
+++ b/src/p_lcom.c
@@ -152,7 +152,7 @@ int8_t
{
if ((link = s_line_new(NULL, msh)) == NULL)
return (-1);
- if ((split_pipes(words[i], link, msh)) == NULL)
+ if ((s_split_pipes(words[i], link, msh)) == NULL)
return (-1);
next = TRUE;
}