diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 19:21:23 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 19:21:23 +0200 |
commit | 0daacec366aab889b2b24d7fc6edebe1370d7e28 (patch) | |
tree | b16cf4d5c03751838896acee6c2d6129f3372b3b /src/ft_s_destroy.c | |
parent | Continuing (diff) | |
download | 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.gz 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.bz2 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.xz 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.zst 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.zip |
Linked list not working but ok
Diffstat (limited to '')
-rw-r--r-- | src/ft_s_destroy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_s_destroy.c b/src/ft_s_destroy.c index 02336d3..8d93250 100644 --- a/src/ft_s_destroy.c +++ b/src/ft_s_destroy.c @@ -17,6 +17,6 @@ void ft_s_destroy(t_msh *msh) { ft_memdel((void*)&msh->ps_one); - ft_memdel((void*)&msh->bu_ref); + ft_delwords(msh->bu_ref); ft_memdel((void*)&msh); } |