mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
core: Closing proper file descriptor when pipe creation fails
This commit is contained in:
parent
48edd0a00f
commit
7dfffdf8e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue