diff options
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/luainit.w | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index d5d6f653a57..0178a9b4d3d 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,7 @@ +2012-10-11 Peter Breitenlohner <peb@mppmu.mpg.de> + + * lua/luainit.w (lua_initialize): Free two malloc()ed strings. + 2012-10-10 Akira Kakuto <kakuto@fuk.kinidai.ac.jp> * luatex.c: Modify determination of fullpath for restricted shell diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.w b/Build/source/texk/web2c/luatexdir/lua/luainit.w index 4acd6e411d7..11b2883b113 100644 --- a/Build/source/texk/web2c/luatexdir/lua/luainit.w +++ b/Build/source/texk/web2c/luatexdir/lua/luainit.w @@ -911,6 +911,7 @@ void lua_initialize(int ac, char **av) shellenabledp = 1; restrictedshell = 1; } + free(v1); } /* If shell escapes are restricted, get allowed cmds from cnf. */ if (shellenabledp && restrictedshell == 1) { @@ -918,6 +919,7 @@ void lua_initialize(int ac, char **av) get_lua_string("texconfig", "shell_escape_commands", &v1); if (v1) { mk_shellcmdlist(v1); + free(v1); } } |