Archived
1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
push_swap/stack/ft_stackdelone.c
2024-02-22 13:38:34 +01:00

21 lines
1004 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_stackdelone.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/06 10:27:14 by adjoly #+# #+# */
/* Updated: 2024/02/22 13:31:53 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include "../push_swap.h"
void ft_stackdelone(t_stack *stack)
{
if (stack == NULL)
return ;
free(stack);
}