summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-21 14:19:15 -0700
committerPixel <pixel@nobis-crew.org>2010-06-21 14:19:15 -0700
commitefe155f9419191ce36f96819a7fc4be61abc4feb (patch)
treea56f3fcb569d8a78117dd91f9a1d8488d946636d
parent7e92be6cd731888a4750bff54a0e03790afb3ab5 (diff)
Yet another stack mistake in the HandleLua code...
-rw-r--r--lib/LuaHandle.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/LuaHandle.cc b/lib/LuaHandle.cc
index e23d059..c78b577 100644
--- a/lib/LuaHandle.cc
+++ b/lib/LuaHandle.cc
@@ -1249,6 +1249,7 @@ HandleLua::~HandleLua() {
L->call(0, 0);
} else {
L->pop();
+ L->pop();
}
L->push("HANDLELUAREFS");
L->gettable(LUA_REGISTRYINDEX);