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.

-- 
Tanu

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to