summaryrefslogtreecommitdiffstats
path: root/src/ft_s_destroy.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 17:04:59 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 17:04:59 +0200
commit386c44e541af7aa1ba594d2f0a9665199b3dffb4 (patch)
treecf5ef3cfeca4348c76aa97ffa5c00849ef9ee24a /src/ft_s_destroy.c
parentGood (diff)
download42-minishell-386c44e541af7aa1ba594d2f0a9665199b3dffb4.tar.gz
42-minishell-386c44e541af7aa1ba594d2f0a9665199b3dffb4.tar.bz2
42-minishell-386c44e541af7aa1ba594d2f0a9665199b3dffb4.tar.xz
42-minishell-386c44e541af7aa1ba594d2f0a9665199b3dffb4.tar.zst
42-minishell-386c44e541af7aa1ba594d2f0a9665199b3dffb4.zip
Nice prompt
Diffstat (limited to 'src/ft_s_destroy.c')
-rw-r--r--src/ft_s_destroy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_s_destroy.c b/src/ft_s_destroy.c
index ef132ce..23e0737 100644
--- a/src/ft_s_destroy.c
+++ b/src/ft_s_destroy.c
@@ -16,5 +16,6 @@
void
ft_s_destroy(t_msh *msh)
{
+ ft_memdel((void*)&msh->ps_one);
ft_memdel((void*)&msh);
}