summaryrefslogtreecommitdiffstats
path: root/src/ft_m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_m_loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_m_loop.c b/src/ft_m_loop.c
index 4c22009..3a44d05 100644
--- a/src/ft_m_loop.c
+++ b/src/ft_m_loop.c
@@ -18,6 +18,7 @@
#include "ft_m_loop.h"
#include "ft_m_prompt.h"
#include "ft_p_line.h"
+#include "ft_s_lcom.h"
int32_t
ft_m_loop(t_msh *msh)
@@ -35,6 +36,7 @@ int32_t
ft_p_line(line, msh);
ft_memdel((void*)&line);
ft_e_lcom(msh);
+ ft_lcom_clear(&msh->curr);
/* TODO: memdel lcom - INSTALL VALGRIND */
}
else