Stop leaking MCRegisterInfo.
Fix a couple of memory leaks.