From 824809dcdf32f93aa841fadbd62e8b2475768d40 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 21 Mar 2024 12:39:06 +0100 Subject: [PATCH] client: Fix memory leak on exit. This triggers only if para_client is run interactively. The leak is harmless, but still.. --- client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client.c b/client.c index 84b7580c..d2d11fd3 100644 --- a/client.c +++ b/client.c @@ -549,6 +549,7 @@ __noreturn static void interactive_session(void) i9e_close(); para_log = stderr_log; out: + free(ici.history_file); if (ret < 0) PARA_ERROR_LOG("%s\n", para_strerror(-ret)); exit(ret < 0? EXIT_FAILURE : EXIT_SUCCESS); -- 2.39.2