From 7933c36d926982bb0eaebf343b8eab3c911ade6a Mon Sep 17 00:00:00 2001 From: Luigi Scarso Date: Sun, 4 Feb 2018 10:24:40 +0000 Subject: sync with luatex tags/1.07.0 git-svn-id: svn://tug.org/texlive/trunk@46538 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/lua/luainit.w | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Build/source') 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 -- cgit v1.2.3