mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Fix invalid free() in run-test262 (#487)
This commit is contained in:
parent
cee3b88edb
commit
4e52027fe7
1 changed files with 1 additions and 1 deletions
|
@ -2077,7 +2077,7 @@ int main(int argc, char **argv)
|
|||
} else if (str_equal(arg, "-f")) {
|
||||
is_dir_list = FALSE;
|
||||
} else if (str_equal(arg, "-r")) {
|
||||
report_filename = get_opt_arg(arg, argv[optind++]);
|
||||
report_filename = strdup(get_opt_arg(arg, argv[optind++]));
|
||||
} else if (str_equal(arg, "-E")) {
|
||||
only_check_errors = TRUE;
|
||||
} else if (str_equal(arg, "-T")) {
|
||||
|
|
Loading…
Reference in a new issue