projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8c5a9
)
unref the raw data memblock before requesting more data.
author
Colin Guthrie
<pulse@colin.guthr.ie>
Sun, 11 May 2008 15:43:56 +0000
(15:43 +0000)
committer
Colin Guthrie
<pulse@colin.guthr.ie>
Wed, 8 Oct 2008 19:32:08 +0000
(20:32 +0100)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2408
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/modules/module-raop-sink.c
patch
|
blob
|
history
diff --git
a/src/modules/module-raop-sink.c
b/src/modules/module-raop-sink.c
index 3d0eaeff82f5f17e20f0d539c2c75dfd27adf823..79c517aa03782715cca8741daf5d25e7c9fd168d 100644
(file)
--- a/
src/modules/module-raop-sink.c
+++ b/
src/modules/module-raop-sink.c
@@
-217,6
+217,10
@@
static void thread_func(void *userdata) {
void *p;
if (u->raw_memchunk.length <= 0) {
+ if (u->raw_memchunk.memblock)
+ pa_memblock_unref(u->raw_memchunk.memblock);
+ pa_memchunk_reset(&u->raw_memchunk);
+
/* Grab unencoded data */
pa_sink_render(u->sink, u->block_size, &u->raw_memchunk);
}