summaryrefslogtreecommitdiffstats
path: root/src/polyp
diff options
context:
space:
mode:
Diffstat (limited to 'src/polyp')
-rw-r--r--src/polyp/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polyp/stream.c b/src/polyp/stream.c
index ab6ab408..746ea9f9 100644
--- a/src/polyp/stream.c
+++ b/src/polyp/stream.c
@@ -103,7 +103,7 @@ pa_stream *pa_stream_new(pa_context *c, const char *name, const pa_sample_spec *
PA_LLIST_PREPEND(pa_stream, c->streams, s);
- return pa_stream_ref(s);
+ return s;
}
static void hashmap_free_func(void *p, void *userdata) {