Correction segfault
This commit is contained in:
parent
6f5907bf3b
commit
fc7e8401a3
|
@ -6,7 +6,7 @@
|
|||
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/02/14 15:46:08 by erey-bet #+# #+# */
|
||||
/* Updated: 2023/03/21 16:09:11 by erey-bet ### ########.fr */
|
||||
/* Updated: 2023/03/22 16:24:46 by erey-bet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -49,7 +49,7 @@ int verification_command(char *argv[], t_data data)
|
|||
{
|
||||
print_error(1, argv[2 + i]);
|
||||
if (i == data.argc - 4)
|
||||
return (free_all(&data));
|
||||
return (1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue