From 14d93fce4467b6fe4cfab8424e29a97521590c72 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 11 Aug 2007 23:44:00 +0000 Subject: [PATCH] minor cleanup git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1646 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/play-memchunk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pulsecore/play-memchunk.c b/src/pulsecore/play-memchunk.c index d2d7180..f2925d1 100644 --- a/src/pulsecore/play-memchunk.c +++ b/src/pulsecore/play-memchunk.c @@ -63,7 +63,6 @@ static void memchunk_stream_unlink(memchunk_stream *u) { pa_sink_input_unref(u->sink_input); u->sink_input = NULL; - /* Make sure we don't decrease the ref count twice. */ memchunk_stream_unref(u); } @@ -160,7 +159,6 @@ int pa_play_memchunk( u->parent.parent.free = memchunk_stream_free; u->parent.process_msg = memchunk_stream_process_msg; u->core = sink->core; - u->sink_input = NULL; u->memchunk = *chunk; pa_memblock_ref(u->memchunk.memblock); -- 2.7.4