parsing: pass correct arguments to prevent use-after-free

This commit is contained in:
Khaïs COLIN 2025-04-15 14:10:03 +02:00
parent ba9751e089
commit 5716c4b3dc
13 changed files with 65 additions and 47 deletions

View file

@ -6,7 +6,7 @@
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/15 10:38:23 by khais #+# #+# */
/* Updated: 2025/04/15 10:38:41 by khais ### ########.fr */
/* Updated: 2025/04/15 14:05:40 by khais ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,6 +15,6 @@
# include "../../minishell.h"
t_cmd *minishell_simple_cmd_parse(t_minishell *app, t_wordlist *tokens);
t_cmd *minishell_simple_cmd_parse(t_minishell *app, t_wordlist **tokens);
#endif // SIMPLE_CMD_PARSE_H