en cours de debuggage pour le probleme de free

This commit is contained in:
hugogogo
2021-06-15 23:33:29 +02:00
parent 8121128ad5
commit 924645e71c
16 changed files with 84 additions and 12 deletions

View File

@@ -6,6 +6,8 @@ void push(t_stack **dst, t_stack **src)
t_stack *tmp1;
t_stack *tmp2;
if (!((*src)->next))
return ;
tmp1 = *src;
tmp2 = *dst;
*src = (*src)->next;