diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 14:51:45 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 14:51:45 +0200 |
commit | c9e4fb6e2ad07e13cf41d6ce6afad30b04011765 (patch) | |
tree | 74d816c107c959315ae52166dac96fe2fe0c2a5e /src/ft_s_destroy.c | |
parent | Well well well that wasn't too bad, now remake everything (diff) | |
download | 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.tar.gz 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.tar.bz2 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.tar.xz 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.tar.zst 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.zip |
Solid base
Diffstat (limited to '')
-rw-r--r-- | src/ft_s_destroy.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ft_s_destroy.c b/src/ft_s_destroy.c new file mode 100644 index 0000000..ffb8381 --- /dev/null +++ b/src/ft_s_destroy.c @@ -0,0 +1,20 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_s_destroy.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#include <libft.h> +#include "ft_s_destroy.h" + +void +ft_s_destroy(t_data *data) +{ + ft_memdel((void*)&data); +} |