blob: b71b960dfd44f931d20e677b3c4b63a8c260298a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_htdestroy_value.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/30 08:31:29 by cacharle #+# #+# */
/* Updated: 2020/01/30 08:31:49 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
static void st_htdelcontent_value(t_ftht_content *content)
{
if (content == NULL)
return ;
free(content->value);
}
void ft_htdestroy_value(t_ftht *ht)
{
ft_htdestroy(ht, *st_dtdelcontent_value);
}
|