From cb1423079805f4f229782197f510a3138fbe1ee6 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 22 Oct 2020 20:06:42 +0200 Subject: normed --- src/m_loop.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/m_loop.c') diff --git a/src/m_loop.c b/src/m_loop.c index a2cf621..732c005 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -54,10 +54,8 @@ static void m_parse_and_run_line(char line[], uint8_t previf, t_msh *msh) continue ; } e_line_block(msh); - if (msh->com != NULL) - s_com_destroy(&msh->com); - if (msh->pipes != NULL) - s_lpipes_clear(&msh->pipes); + s_com_destroy(&msh->com); + s_lpipes_clear(&msh->pipes); } previf = ptr->nextif; ptr = ptr->next; -- cgit v1.2.3