Fix some lua items leaks.