mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
leak: resolve the rest of the memory leaks
This commit is contained in:
parent
69b247697c
commit
7102998dce
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/02/21 13:13:58 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_wordlist *words = minishell_wordsplit(input);
|
||||||
t_pipeline *pipeline = pipeline_from_wordlist(words);
|
t_pipeline *pipeline = pipeline_from_wordlist(words);
|
||||||
|
wordlist_destroy(words);
|
||||||
return (pipeline);
|
return (pipeline);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue