[PATCH 1/2] msi: Fix a couple of memory leaks (Valgrind).