Fix a memory leak resulting from the in-memory inode map.