[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_register
- From: lhf (Luiz Henrique de Figueiredo)
- Date: Mon, 11 May 1998 12:11:50 -0300
>From firstname.lastname@example.org 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.