summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/source.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-21 01:52:10 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-21 01:52:10 +0100
commitb6b0e07c316be822ced5136fd29d96976ccab0f2 (patch)
treec206cb495ee8c9a2480e6a19011e8327fd862bed /src/pulsecore/source.c
parent16d200e3694658267ff4e04a296ffdb5668e8af6 (diff)
fix copy/paste error
Diffstat (limited to 'src/pulsecore/source.c')
-rw-r--r--src/pulsecore/source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c
index 57018a2b..a30ef95a 100644
--- a/src/pulsecore/source.c
+++ b/src/pulsecore/source.c
@@ -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);