leak: resolve the rest of the memory leaks

This commit is contained in:
Khaïs COLIN 2025-03-04 15:08:54 +01:00 committed by Khaïs COLIN
parent 69b247697c
commit 7102998dce

View file

@ -6,7 +6,7 @@
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/21 13:13:58 by khais #+# #+# */
/* Updated: 2025/02/24 17:22:54 by khais ### ########.fr */
/* Updated: 2025/03/04 15:08:43 by khais ### ########.fr */
/* */
/* ************************************************************************** */
@ -23,6 +23,7 @@ static t_pipeline *parse_pipeline(char *input)
{
t_wordlist *words = minishell_wordsplit(input);
t_pipeline *pipeline = pipeline_from_wordlist(words);
wordlist_destroy(words);
return (pipeline);
}