mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-11-25 04:35:44 +00:00
* src/main.c (decode_switches): Fix memory leak.
This commit is contained in:
parent
0d367bbe6e
commit
55f06bdc3f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue