From c2296366dc4cb9d1260d7e60f3383ba216f766a3 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 30 Apr 2024 11:06:49 +0200 Subject: [PATCH] getopt: remove free-before-exit Signed-off-by: Karel Zak --- misc-utils/getopt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/misc-utils/getopt.c b/misc-utils/getopt.c index f989461a7..c57dd8737 100644 --- a/misc-utils/getopt.c +++ b/misc-utils/getopt.c @@ -446,7 +446,6 @@ int main(int argc, char *argv[]) ctl.shell = shell_type(optarg); break; case 'T': - free(ctl.long_options); return TEST_EXIT_CODE; case 'u': ctl.quote = 0; -- 2.47.2