strdup() for exec_path
This commit is contained in:
parent
d824ae585c
commit
444c415ca2
@ -619,7 +619,7 @@ static int parse_args(int argc, char **argv)
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
exec_path = argv[optind];
|
||||
exec_path = strdup(argv[optind]);
|
||||
|
||||
return optind;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user