[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re:Memory leaks in Lua?
- From: "Paul Winwood"<Paul_Winwood@...>
- Date: Wed, 06 Jun 2001 10:31:51 GMT
Vesselin wrote:
>> I getting resource leak errors with Borland C++Builder 5 (Update Pack #1)
when
In the case of luac(.exe) I think that the memory leaks that CodeGuard detects
are because the lua_close() function is never called.
In the case if lua(.exe) there is a command line option -c that calls
lua_close() at exit when set otherwise it is also not called.
I have tested lua (and my code) extensively using CodeGuard for memory leaks in
my LUA Active Scripting Engine "http://www.luascript.thersgb.net/LuaScript.htm"
and have not found any memory leaks in lua provided that lua_close() is called.
Paul.