[pulseaudio-commits] r2455 - /trunk/src/pulsecore/source-output.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sat May 17 02:11:53 PDT 2008
Author: lennart
Date: Sat May 17 11:11:52 2008
New Revision: 2455
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2455&root=pulseaudio&view=rev
Log:
only unref memblock if there is one
Modified:
trunk/src/pulsecore/source-output.c
Modified: trunk/src/pulsecore/source-output.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/source-output.c?rev=2455&root=pulseaudio&r1=2454&r2=2455&view=diff
==============================================================================
--- trunk/src/pulsecore/source-output.c (original)
+++ trunk/src/pulsecore/source-output.c Sat May 17 11:11:52 2008
@@ -409,7 +409,8 @@
if (rchunk.length > 0)
o->push(o, &rchunk);
- pa_memblock_unref(rchunk.memblock);
+ if (rchunk.memblock)
+ pa_memblock_unref(rchunk.memblock);
}
pa_memblock_unref(qchunk.memblock);
More information about the pulseaudio-commits
mailing list