From 23c53fec41ef1c9b62757c73b8ff8362139f8838 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 21 Apr 2020 16:09:25 +0200 Subject: Linked list works, not memdeling --- src/ft_m_loop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ft_m_loop.c') 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 -- cgit v1.2.3