fik leak
This commit is contained in:
parent
954e8c47fb
commit
c492d6416d
@ -6,7 +6,7 @@
|
||||
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/03/09 12:33:30 by apommier #+# #+# */
|
||||
/* Updated: 2022/04/19 12:01:16 by apommier ### ########.fr */
|
||||
/* Updated: 2022/04/19 12:46:46 by apommier ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/03/08 15:19:42 by apommier #+# #+# */
|
||||
/* Updated: 2022/04/19 12:35:26 by apommier ### ########.fr */
|
||||
/* Updated: 2022/04/19 12:46:09 by apommier ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -98,7 +98,6 @@ t_cmd *set_cmd(char *input, char **env, int nb)
|
||||
cmds = ft_split_with_quote(input, '|');
|
||||
if (!cmds)
|
||||
return (0);
|
||||
|
||||
cmd = malloc(sizeof(t_cmd));
|
||||
if (!cmd)
|
||||
return (0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user