Lua Q: Right way to shut Lua down ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Lua Q: Right way to shut Lua down ?

Luc Van den Borre
Hello all,

Another newbie question...

Right now I'm using lua_beginblock() and lua_endblock() as my first and last Lua functions...
However, I'm using BoundsChecker and this reports 2 memory leaks :

luamem.c(34): Memory leak; 5760 bytes allocated by malloc luamem.c (34), HANDLE: 0x028DD164
luamem.c(34): Memory leak; 3072 bytes allocated by malloc luamem.c (34), HANDLE: 0x028DE818

I assume this is just a bug ?
Or is there another function to shut down Lua ?
If these memory leaks were to increase in size, they could become a problem in my application...

Thanks,

--Luc