diff options
author | Lauri Aarnio <Lauri.Aarnio@iki.fi> | 2008-09-25 10:46:31 +0300 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2008-09-27 00:02:43 +0300 |
commit | 41e470cdb72abdfd9a62f9240ae7e0c31b506a8c (patch) | |
tree | a26023395226d10c1e2fce459c8125fdd7079f09 /luaif | |
parent | da47e2494757818181e6d3005ff410776f21046e (diff) |
Bugfix: Clean lua stack at read_string_variable_from_lua() - my bug, my fix..
Diffstat (limited to 'luaif')
-rw-r--r-- | luaif/luaif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/luaif/luaif.c b/luaif/luaif.c index a4cfc16..5d60b9a 100644 --- a/luaif/luaif.c +++ b/luaif/luaif.c @@ -118,6 +118,7 @@ static char *read_string_variable_from_lua( if (result) { result = strdup(result); } + lua_pop(luaif->lua, 1); SB_LOG(SB_LOGLEVEL_DEBUG, "Lua variable %s = '%s', gettop=%d", name, (result ? result : "<NULL>"), |