From: Olivier Matz Date: Fri, 24 Dec 2010 12:56:30 +0000 (+0100) Subject: cmdline (merge-intel): don't free the cmdline struct in cmdline_interact() X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=090c2ba0d6b66390c9c770dba1c7f987cd9ca1e1;p=libcmdline.git 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 --- 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); }