From b8b3839bba75a96acc852d83b02434d921b0e065 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 17 Jan 2022 11:39:53 +0100 Subject: #915 remove temporary file to store shell output Remove legacy behaviour, store it in the client object instead of a temporary file. --- src/core.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core.c') 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); } -- cgit v1.2.3-18-g5258