Merge branch 'master' of github.com:DavidGailleton/42-Push_Swap into error_valgrind

This commit is contained in:
Maoake Teriierooiterai
2026-01-14 12:00:12 +01:00
12 changed files with 100 additions and 11 deletions

View File

@@ -21,6 +21,7 @@ t_stack *new_stack(int value)
if (!new)
return (NULL);
new->value = value;
new->index = -1;
new->next = NULL;
new->previous = NULL;
return (new);