diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-03-07 16:04:32 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-03-07 16:04:32 +0000 |
commit | b67963cec233f9c4d8c431f560475735e813c7b7 (patch) | |
tree | 4d36bc1a5b11574e5436dd5df9f6e995e632cd91 /src | |
parent | 64571374b3d7941471838eecc1457046854ed4d9 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/polyp/stream.c | 2 |
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) { |