1
0
mirror of https://github.com/KeyZox71/ft_minipowershell.git synced 2025-05-13 16:08:45 +02:00

🔨」 fix: fixed some leak

This commit is contained in:
2024-07-15 17:04:33 +02:00
parent 605d9dd2eb
commit ab717f740b
4 changed files with 16 additions and 3 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/10 01:14:10 by adjoly #+# #+# */
/* Updated: 2024/07/13 14:03:00 by adjoly ### ########.fr */
/* Updated: 2024/07/15 17:03:12 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -70,5 +70,6 @@ void __heredoc_sig(int code)
ft_lstclear(get_list(NULL), &free_token);
close(get_fd_heredoc(-1));
rl_clear_history();
free(*get_rl(NULL));
exit(130);
}