We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cee3b88 commit 4e52027Copy full SHA for 4e52027
run-test262.c
@@ -2077,7 +2077,7 @@ int main(int argc, char **argv)
2077
} else if (str_equal(arg, "-f")) {
2078
is_dir_list = FALSE;
2079
} else if (str_equal(arg, "-r")) {
2080
- report_filename = get_opt_arg(arg, argv[optind++]);
+ report_filename = strdup(get_opt_arg(arg, argv[optind++]));
2081
} else if (str_equal(arg, "-E")) {
2082
only_check_errors = TRUE;
2083
} else if (str_equal(arg, "-T")) {
0 commit comments