[FIX] error in libtf

This commit is contained in:
mcolonna 2024-04-29 13:52:25 +02:00
parent 3a85b1a195
commit 78f6fcc82f
3 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
./minishell
/minishell
# Prerequisites
*.d

View file

@ -11,7 +11,7 @@ PRINTF_CODE = \
ft_strjoin stream1 stream2 utils1 utils2
PRINTF_SRCS = tf_printf/src/
PRINTF_INCLUDES = ./ tf_printf/include/
WHAT = LIBTF v11
WHAT = LIBTF v12
USED = malloc() free() write()
# It works and I probably won't change it for the rest of my life

View file

@ -6,7 +6,7 @@
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/18 11:08:16 by mcolonna #+# #+# */
/* Updated: 2024/03/12 16:05:15 by mcolonna ### ########.fr */
/* Updated: 2024/04/29 13:47:37 by mcolonna ### ########.fr */
/* */
/* ************************************************************************** */
@ -60,6 +60,7 @@ void mem_freeall(t_memclass mc)
el = ((t_memclass_in *) mc)->first;
while (el)
{
el->previous = NULL;
next = el->next;
free_address_with_element(el->address);
if (el->subclass)