Fix exceptional leak in msi.c