summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_loop.c')
-rw-r--r--src/m_loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index 5641686..50357eb 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -44,6 +44,7 @@ static void
if ((msh->com = s_com_new(ptr->lblock, msh)) == NULL)
break ;
e_line(msh);
+ s_com_destroy(&msh->com);
}
else if (msh->pipes != NULL)
s_lpipes_clear(&msh->pipes);