plus de leaks yeaaah
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user