diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-09 18:29:25 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-09 18:29:25 +0200 |
commit | 42aa32df3f63d4dd1213b0683ab7110d788defef (patch) | |
tree | 80deb6980df13c903d3ed113abca0c33aa73d828 /src/m_loop.c | |
parent | Pretty bav (diff) | |
download | 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.tar.gz 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.tar.bz2 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.tar.xz 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.tar.zst 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.zip |
The more memory the better LOL
Diffstat (limited to '')
-rw-r--r-- | src/m_loop.c | 1 |
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); |