[pulseaudio-discuss] [PATCH 3/6] Cards now has ports directly, and device port has list of profiles

Tanu Kaskinen tanuk at iki.fi
Thu Nov 3 13:05:21 PDT 2011

On Thu, 2011-11-03 at 21:04 +0200, Tanu Kaskinen wrote:
> > +    if (p->profiles)
> > +        pa_hashmap_free(p->profiles, NULL, NULL);
> pa_assert(pa_hashmap_isempty(p->profiles)) would be nice here.

I'll take that back. I was asking myself that "shouldn't we first free
the hashmap contents?", but the answer is anyway "no", because ports
don't own the profiles.


More information about the pulseaudio-discuss mailing list