summaryrefslogtreecommitdiffstats
path: root/src/ft_s_destroy.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 17:31:32 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 17:31:32 +0200
commitc85c10c0308c565ed0e1c6320a81551f1777b56d (patch)
tree8f4fbed31da06f4f0716cd37d1b4cfaa43f55685 /src/ft_s_destroy.c
parentNice prompt (diff)
download42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.gz
42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.bz2
42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.xz
42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.zst
42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.zip
Cool funptr
Diffstat (limited to '')
-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 23e0737..8c82297 100644
--- a/src/ft_s_destroy.c
+++ b/src/ft_s_destroy.c
@@ -17,5 +17,6 @@ void
ft_s_destroy(t_msh *msh)
{
ft_memdel((void*)&msh->ps_one);
+ ft_memdel((void*)&msh->bu_ptr);
ft_memdel((void*)&msh);
}