_
This commit is contained in:
parent
62e887cfbd
commit
bd5e1671fc
BIN
builtins/.nfs000000000ab804b60000004a
Normal file
BIN
builtins/.nfs000000000ab804b60000004a
Normal file
Binary file not shown.
5
env/env1.c
vendored
5
env/env1.c
vendored
@ -6,7 +6,7 @@
|
||||
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/02/02 14:39:56 by erey-bet #+# #+# */
|
||||
/* Updated: 2023/04/18 12:47:08 by erey-bet ### ########.fr */
|
||||
/* Updated: 2023/04/18 13:57:38 by erey-bet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -78,7 +78,10 @@ int create_value_by_key(char *key, char *value, t_list **head)
|
||||
t_env *content;
|
||||
|
||||
if (set_value_by_key(key, value, head) == 0)
|
||||
{
|
||||
free(key);
|
||||
return (0);
|
||||
}
|
||||
content = ft_calloc(1, sizeof(t_env));
|
||||
if (content == NULL)
|
||||
return (1);
|
||||
|
Loading…
Reference in New Issue
Block a user