Re: Fighting memleaks with valgrind - making awesome crash via lua_close()

2009-06-20 Thread Julien Danjou
At 1245411976 time_t, Uli Schlachter wrote: > today I took a look at valgrind's 'leak-check=full' output and thought "wtf? I > gotta improve this!". As a first step I added a call to lua_close() in > awesome_atexit() which (finally?) frees the complete lua state during cleanup. > > The downside of

Fighting memleaks with valgrind - making awesome crash via lua_close()

2009-06-19 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi list, today I took a look at valgrind's 'leak-check=full' output and thought "wtf? I gotta improve this!". As a first step I added a call to lua_close() in awesome_atexit() which (finally?) frees the complete lua state during cleanup. The downsi