Another loop with deleting.

...unsure how maintained this file will be.
This commit is contained in:
Jason Felds
2013-05-01 22:42:24 -04:00
parent a013d6faa3
commit 45b1631e09
+2 -2
View File
@@ -1054,8 +1054,8 @@ namespace
lua_call( L, iArgs, LUA_MULTRET ); lua_call( L, iArgs, LUA_MULTRET );
int iVals = lua_gettop(L); int iVals = lua_gettop(L);
FOREACH( LuaThreadVariable *, apVars, v ) for (LuaThreadVariable *v : apVars)
delete *v; delete v;
return iVals; return iVals;
} }