From b67963cec233f9c4d8c431f560475735e813c7b7 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 7 Mar 2006 16:04:32 +0000 Subject: We've already set an initial reference count of 1 so don't count it up again. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@634 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/polyp/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/polyp') 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) { -- cgit