summaryrefslogtreecommitdiffstats
path: root/src/e_externs_pipes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/e_externs_pipes.c')
-rw-r--r--src/e_externs_pipes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_externs_pipes.c b/src/e_externs_pipes.c
index f6243e5..e6252e4 100644
--- a/src/e_externs_pipes.c
+++ b/src/e_externs_pipes.c
@@ -58,7 +58,7 @@ static void
bu_id = get_builtin_id(ptr->bin, msh);
ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh);
u_eof_fd(msh->fd);
- s_lpipes_clear(&msh->curr->pipes);
+ s_lpipes_clear(&msh->pipes);
s_line_clear(&msh->curr);
s_destroy(msh);
ft_delwords(fullpath);