mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
only unref memblock if there is one
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2455 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
971342de0b
commit
2e71f4d015
1 changed files with 2 additions and 1 deletions
|
|
@ -409,6 +409,7 @@ void pa_source_output_push(pa_source_output *o, const pa_memchunk *chunk) {
|
||||||
if (rchunk.length > 0)
|
if (rchunk.length > 0)
|
||||||
o->push(o, &rchunk);
|
o->push(o, &rchunk);
|
||||||
|
|
||||||
|
if (rchunk.memblock)
|
||||||
pa_memblock_unref(rchunk.memblock);
|
pa_memblock_unref(rchunk.memblock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue