From 0020764f51d6b53e66473bf4460b8a1131dbc170 Mon Sep 17 00:00:00 2001 From: yosyo Date: Tue, 21 May 2024 00:36:01 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=E2=9C=A8=E3=80=8D=20feat(heredoc.c):?= =?UTF-8?q?=20ft=5Fheredoc=20:D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/exec/heredoc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/exec/heredoc.c b/src/exec/heredoc.c index ece919a..b207e86 100644 --- a/src/exec/heredoc.c +++ b/src/exec/heredoc.c @@ -6,7 +6,7 @@ /* By: mmoussou "); } + free(line); status = write(tmp_fd, "\0", 1); if (status == -1) {