From 7102998dcef3315a7d366988b74a5d82b8d44540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Tue, 4 Mar 2025 15:08:54 +0100 Subject: [PATCH] leak: resolve the rest of the memory leaks --- tests/parse_pipelines.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/parse_pipelines.c b/tests/parse_pipelines.c index 8eb27ab..5f7ca16 100644 --- a/tests/parse_pipelines.c +++ b/tests/parse_pipelines.c @@ -6,7 +6,7 @@ /* By: khais +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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); }