blob: 8d932500bf9bbfb32f86ae188cc72aa2723c837d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 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_msh *msh)
{
ft_memdel((void*)&msh->ps_one);
ft_delwords(msh->bu_ref);
ft_memdel((void*)&msh);
}
|