Fix mempolicy object leaks