Remove unnecessary malloc. The hash_hpav() returns a pointer to a global.