* free(hash) was missing