davidm / luacom

Microsoft Component Object Model (COM) binding for Lua
http://lua-users.org/wiki/LuaCom
Other
116 stars 51 forks source link

Changes to prevent memory leaks #4

Closed Malma closed 12 years ago

davidm commented 12 years ago

Thank you. It would be even better if the COM_RELEASE'S throughout the code were replaced with smart pointers/RAII to automatically cleanup on scope exit (exception or not). I've opened up a separate issue for that https://github.com/davidm/luacom/issues/5 .