fix Lua stack leak

This commit is contained in:
Glenn Maynard
2005-05-07 19:46:41 +00:00
parent eb7dd8e45c
commit 4696541f44
+1 -1
View File
@@ -282,7 +282,7 @@ public:
// call function with 0 arguments and 1 result
lua_call(LUA->L, 0, 1);
LuaHelpers::FromStack( m_currentValue, -1, LUA->L );
LuaHelpers::PopStack( m_currentValue, LUA->L );
return m_currentValue;
}