fix: make it compile

This commit is contained in:
Khaïs COLIN 2025-04-11 16:49:26 +02:00
parent 4baad88a44
commit 1866da6ea6
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
4 changed files with 15 additions and 22 deletions

View file

@ -6,7 +6,7 @@
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/21 12:30:07 by khais #+# #+# */
/* Updated: 2025/03/28 15:02:17 by khais ### ########.fr */
/* Updated: 2025/04/11 16:49:02 by khais ### ########.fr */
/* */
/* ************************************************************************** */
@ -35,6 +35,7 @@ void simple_cmd_destroy(t_simple_cmd *cmd)
if (cmd == NULL)
return ;
wordlist_destroy(cmd->words);
redirect_destroy(cmd->redirections);
free(cmd);
}