aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-04 08:21:51 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-04 08:21:51 +0000
commit546405a115501e396ef7bbdd630edcfeb1b63afb (patch)
tree7df6469c6229a3aa54655fbd6825a3588a4b7529 /epan/wslua
parent1cc86fea607c3f907fc63a4ac8f477dad97aeb55 (diff)
From Sam Roberts:
The value_string_from_table()'s use of the lua stack is not balanced, if a table is iterated, it pops one more time than it should. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28633 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/wslua')
-rw-r--r--epan/wslua/wslua_proto.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/wslua/wslua_proto.c b/epan/wslua/wslua_proto.c
index 89c6df5cde..6bbd68ff11 100644
--- a/epan/wslua/wslua_proto.c
+++ b/epan/wslua/wslua_proto.c
@@ -516,8 +516,6 @@ static value_string* value_string_from_table(lua_State* L, int idx) {
lua_pop(L, 1);
}
- lua_pop(L, 1);
-
ret = (value_string*)vs->data;
g_array_free(vs,FALSE);