Make sure name is copied into the pool memory before being used in the hash.