From 090c2ba0d6b66390c9c770dba1c7f987cd9ca1e1 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Fri, 24 Dec 2010 13:56:30 +0100 Subject: [PATCH] cmdline (merge-intel): don't free the cmdline struct in cmdline_interact() This function is not supposed to free the 'cl' structure, as it may be reused by cmdline_stdin_exit(). Signed-off-by: Olivier Matz --- src/lib/cmdline.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/cmdline.c b/src/lib/cmdline.c index 0035f44..9ad2bbe 100644 --- a/src/lib/cmdline.c +++ b/src/lib/cmdline.c @@ -230,5 +230,4 @@ cmdline_interact(struct cmdline *cl) if (cmdline_in(cl, &c, 1) < 0) break; } - cmdline_free(cl); } -- 2.20.1