fix mempolicy object leaks (thanks to @civato)