projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042cb09
)
properly free memblocks when skipping over them
author
Lennart Poettering
<lennart@poettering.net>
Thu, 26 Jul 2007 13:58:50 +0000
(13:58 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 26 Jul 2007 13:58:50 +0000
(13:58 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1545
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulsecore/sink-input.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/sink-input.c
b/src/pulsecore/sink-input.c
index
9683661
..
44d00ef
100644
(file)
--- a/
src/pulsecore/sink-input.c
+++ b/
src/pulsecore/sink-input.c
@@
-475,8
+475,11
@@
void pa_sink_input_drop(pa_sink_input *i, size_t length) {
pa_cvolume volume;
if (pa_sink_input_peek(i, &chunk, &volume) >= 0) {
- size_t l
= chunk.length
;
+ size_t l;
+ pa_memblock_unref(chunk.memblock);
+
+ l = chunk.length;
if (l > length)
l = length;