device-port: Remove pa_device_port_hashmap_free()

This commit is contained in:
Tanu Kaskinen 2013-02-12 21:36:54 +02:00
parent 8872c238ba
commit 43e7868008
6 changed files with 7 additions and 15 deletions

View file

@ -142,7 +142,7 @@ void pa_sink_new_data_done(pa_sink_new_data *data) {
pa_proplist_free(data->proplist);
if (data->ports)
pa_device_port_hashmap_free(data->ports);
pa_hashmap_free(data->ports, (pa_free_cb_t) pa_device_port_unref);
pa_xfree(data->name);
pa_xfree(data->active_port);
@ -743,7 +743,7 @@ static void sink_free(pa_object *o) {
pa_proplist_free(s->proplist);
if (s->ports)
pa_device_port_hashmap_free(s->ports);
pa_hashmap_free(s->ports, (pa_free_cb_t) pa_device_port_unref);
pa_xfree(s);
}