mirror of
https://github.com/mirror/make.git
synced 2026-08-07 16:41:04 +00:00
* src/main.c (decode_switches): Fix memory leak.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user