mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-27 00:41:57 +00:00
delete print stacks and looking for the secure malloc if there is a malloc not secure
This commit is contained in:
@@ -37,6 +37,8 @@ void medium(t_stacks *stacks)
|
||||
{
|
||||
range = range_bucket(stacks->a);
|
||||
buckets = get_tabs(stacks->a, range);
|
||||
if (!buckets)
|
||||
return ;
|
||||
bucket_algo(stacks, buckets, range);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user