summaryrefslogtreecommitdiffstats
path: root/src/core.c
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2022-01-17 11:39:53 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2022-01-18 10:48:59 +0100
commitb8b3839bba75a96acc852d83b02434d921b0e065 (patch)
tree08732b81edd372aed2efda2b506f6a1ff9fd98a0 /src/core.c
parenteaf7ed9da0aba4353d6aeda351553aa47fa6d2a5 (diff)
#915 remove temporary file to store shell output
Remove legacy behaviour, store it in the client object instead of a temporary file.
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index 0f95ad9..b15efc9 100644
--- a/src/core.c
+++ b/src/core.c
@@ -32,6 +32,7 @@ static void og_client_release(struct ev_loop *loop, struct og_client *cli)
ev_timer_stop(loop, &cli->timer);
ev_io_stop(loop, &cli->io);
close(cli->io.fd);
+ free((void *)cli->shell_output);
free(cli);
}