diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua/luainit.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/luainit.w | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.w b/Build/source/texk/web2c/luatexdir/lua/luainit.w index 763ac1a42a5..fb01d83d7b3 100644 --- a/Build/source/texk/web2c/luatexdir/lua/luainit.w +++ b/Build/source/texk/web2c/luatexdir/lua/luainit.w @@ -341,7 +341,7 @@ static void parse_options(int ac, char **av) lua_offset = optind; luainit = 1; } else if (ARGUMENT_IS("lua")) { - startup_filename = optarg; + startup_filename = xstrdup(optarg); lua_offset = (optind - 1); luainit = 1; #ifdef LuajitTeX |