aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lanes.c')
-rw-r--r--src/lanes.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lanes.c b/src/lanes.c
index 6fec951..62d56c1 100644
--- a/src/lanes.c
+++ b/src/lanes.c
@@ -52,7 +52,7 @@
52 * ... 52 * ...
53 */ 53 */
54 54
55char const* VERSION = "3.4.3"; 55char const* VERSION = "3.4.4";
56 56
57/* 57/*
58=============================================================================== 58===============================================================================
@@ -1894,11 +1894,7 @@ LUAG_FUNC( thread_new )
1894 1894
1895 // populate with selected libraries at the same time 1895 // populate with selected libraries at the same time
1896 // 1896 //
1897 L2 = luaG_newstate( libs, on_state_create); 1897 L2 = luaG_newstate( L, libs, on_state_create);
1898 if (!L2)
1899 {
1900 return luaL_error( L, "'luaL_newstate()' failed; out of memory");
1901 }
1902 1898
1903 STACK_GROW( L, 2); 1899 STACK_GROW( L, 2);
1904 STACK_GROW( L2, 3); 1900 STACK_GROW( L2, 3);