From a0320b25e0cf4efd9b49d2a3356cf8530a1820fe Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Mon, 13 Jun 2011 00:11:56 +0200 Subject: [PATCH] getopt: remove unnecessary free() Signed-off-by: Sami Kerola --- getopt/getopt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/getopt/getopt.c b/getopt/getopt.c index ebddc30b8e..ceb9d3dedf 100644 --- a/getopt/getopt.c +++ b/getopt/getopt.c @@ -104,8 +104,6 @@ static const char *normalize(const char *arg) const char *argptr=arg; char *bufptr; - free(BUFFER); - if (!quote) { /* Just copy arg */ BUFFER=xmalloc(strlen(arg)+1); -- 2.47.2