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:
48edd0a
)
core: Closing proper file descriptor when pipe creation fails
author
Sajeesh Sidharthan
<sajeesh.s@samsung.com>
Mon, 4 Aug 2014 09:02:22 +0000
(14:32 +0530)
committer
Arun Raghavan
<arun@accosted.net>
Mon, 4 Aug 2014 08:41:42 +0000
(14:11 +0530)
src/pulsecore/pipe.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/pipe.c
b/src/pulsecore/pipe.c
index
f873ef6
..
4e3c0c3
100644
(file)
--- 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;
}