fix copy/paste error

This commit is contained in:
Lennart Poettering 2009-01-21 01:52:10 +01:00
parent 16d200e369
commit b6b0e07c31

View file

@ -322,7 +322,7 @@ void pa_source_unlink(pa_source *s) {
pa_idxset_remove_by_data(s->core->sources, s, NULL);
if (s->card)
pa_idxset_remove_by_data(s->card->sinks, s, NULL);
pa_idxset_remove_by_data(s->card->sources, s, NULL);
while ((o = pa_idxset_first(s->outputs, NULL))) {
pa_assert(o != j);