From: Paul Smith Date: Mon, 6 Sep 2021 02:28:10 +0000 (-0400) Subject: * src/main.c (decode_switches): Fix memory leak. X-Git-Tag: 4.3.90~160 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=55f06bdc3fe765c2fceaad56cfaaee00311e7bf0;p=thirdparty%2Fmake.git * src/main.c (decode_switches): Fix memory leak. --- diff --git a/src/main.c b/src/main.c index 76a5f7e1..183c77a1 100644 --- a/src/main.c +++ b/src/main.c @@ -2973,7 +2973,7 @@ decode_switches (int argc, const char **argv, int env) break; if (! coptarg) - coptarg = xstrdup (cs->noarg_value); + coptarg = cs->noarg_value; else if (*coptarg == '\0') { char opt[2] = "c";