[pulseaudio-commits] src/pulsecore

Arun Raghavan arun at kemper.freedesktop.org
Mon Aug 4 01:44:53 PDT 2014


 src/pulsecore/pipe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7dfffdf8e5e21d3fd0dcdf98bc8ea2136d02d599
Author: Sajeesh Sidharthan <sajeesh.s at samsung.com>
Date:   Mon Aug 4 14:32:22 2014 +0530

    core: Closing proper file descriptor when pipe creation fails

diff --git a/src/pulsecore/pipe.c b/src/pulsecore/pipe.c
index f873ef6..4e3c0c3 100644
--- a/src/pulsecore/pipe.c
+++ b/src/pulsecore/pipe.c
@@ -149,7 +149,7 @@ error:
         if (filedes[0] >= 0)
                 pa_close(filedes[0]);
         if (filedes[1] >= 0)
-                pa_close(filedes[0]);
+                pa_close(filedes[1]);
 
         return -1;
 }



More information about the pulseaudio-commits mailing list