]> code.delx.au - pulseaudio/commitdiff
fix copy/paste error
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Jan 2009 00:52:10 +0000 (01:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Jan 2009 00:52:10 +0000 (01:52 +0100)
src/pulsecore/source.c

index 57018a2b8e427ea98c865301eb8227e87878d171..a30ef95a13c102d210321aee66398394ccb4f832 100644 (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);