[lua] Fixed several memory leaks related to exceptions; removed unreachable code after exceptions.
[lua] Fixed several memory leaks related to exceptions; removed unreachable
code after exceptions.

fperrad/lua,fperrad/lua