format: Avoid some code duplication
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 2 Mar 2011 06:01:51 +0000 (11:31 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 2 May 2011 06:24:48 +0000 (11:54 +0530)
commite418e49ecbd643f3cac87438d00baaf86275927c
tree53a5290e3bf85fb4201f470b3e84a4267399cb8c
parent13229fb39e7b8cff3f114c98f8236d9123442243
format: Avoid some code duplication

We frequently need to free an idxset containing pa_format_infos, so
define an internal free function that can be used directly with this
(instead of defining it once-per-file).
src/pulse/format.c
src/pulse/internal.h
src/pulsecore/protocol-native.c
src/pulsecore/sink-input.c