Re: [Patch] Yes, another Really Important Thingie (tm)

2009-06-19 Thread Julien Danjou
At 1245351455 time_t, Uli Schlachter wrote: JD: I'm not sure about the ev_ref()/ev_unref() stuff, is this necessary? Did I get it right? Seems OK to me. Pushed. Cheers, -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD

Re: [Patch] Yes, another Really Important Thingie (tm)

2009-06-19 Thread Julien Danjou
At 1245345332 time_t, Uli Schlachter wrote: I can't live without submiting a patch, the result of this OCD is attached. Pushed. Cheers, -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // And thinking so much

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