lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>From gilesr@yitm.com 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