mirror of
https://github.com/mirror/make.git
synced 2025-02-05 01:00:11 +08:00
* src/main.c (decode_switches): Fix memory leak.
This commit is contained in:
parent
0d367bbe6e
commit
55f06bdc3f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user