plus de leaks yeaaah

This commit is contained in:
hugogogo
2021-06-27 13:30:04 +02:00
parent c38f2383f7
commit aa65191b11
17 changed files with 36 additions and 85 deletions

View File

@@ -18,13 +18,13 @@ void push(t_stack **dst, t_stack **src)
t_list *pa(t_stack **a, t_stack **b, t_list **solution)
{
push(a, b);
fill_solution(*solution, ft_strdup("pa"));
fill_solution(*solution, "pa");
return (NULL);
}
t_list *pb(t_stack **b, t_stack **a, t_list **solution)
{
push(b, a);
fill_solution(*solution, ft_strdup("pb"));
fill_solution(*solution, "pb");
return (NULL);
}