「🔨」 fix: heredoc leak

This commit is contained in:
KeyZox committed 2024-08-10 18:13:13 +02:00
1 parent f22d5653d8
commit f4fd027293
12 files changed
+82 -44

No files matched your search

+3 -1
View File
@@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:02:40 by mmoussou #+# #+# */
/* Updated: 2023/11/08 17:02:57 by mmoussou ### ########.fr */
/* Updated: 2024/08/10 13:57:35 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@@ -16,6 +16,8 @@ t_list *ft_lstnew(void *content)
{
t_list *r;
if (!content || !*content)
return (NULL);
r = malloc(sizeof(t_list));
if (!r)
return (NULL);