[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: FYI, Epoc memory-leak...
- From: "Andrew Wheeler" <awheeler@...>
- Date: Thu, 3 May 2001 20:01:29 -0700
Hey folks,
The EPOCLua version of iolib causes a "memory leak" of sorts: lua's iolib
utilizes EPOC's STDLIB library, but there is no explicit call to (the OS
function) CloseSTDLIB() before program-exit. If STDLIB is used w/out a call
to CloseSTDLIB() before your app is exited, then the app -may- leak memory.
I went ahead and just stuck a "CloseSTDLib()" in my C++ "wrapper" around the
Lua library, rather than making another EPOC-specific code-modification to
the lua build.
Just a quick FYI since I didn't see this particular "memory leak" documented
anywhere - even the Symbian documentation is rather curt on the whole STDLIB
cleanup issue.
Happy Lua'ing! :)
-andrew