Re: lua_register

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

Re: lua_register

Luiz Henrique de Figueiredo
>From [hidden email] Mon May 11 11:53:38 1998
>
>However, when my application closes down, the compiler detects memory leaks.  This only happens if I use lua_register.

what is a memory leak?
if a memory leak is memory that has been allocated but not freed, then it's
perfectly all right.
if you're running Lua 3.1, try calling lua_close before exiting main.

if a memory leak is using memory that has already been freed, then it's bad,
and I'd like more details.
--lhf