Indeed, I don't think it's safe to simply use hashmap_free_free for a Hashmap pointing to strvs. I'm not sure about _cleanup_free_, either. Are there other examples of complex Hashmap cleanup for, say, strvs in the systemd source?