1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

initialize pipe pointers

This commit is contained in:
Alfred Perlstein 2001-05-17 18:22:58 +00:00
parent 82a283fcf3
commit 2deb4a20c3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76756

View File

@ -179,6 +179,7 @@ pipe(p, uap)
if (pipe_zone == NULL)
pipe_zone = zinit("PIPE", sizeof (struct pipe), 0, 0, 4);
rpipe = wpipe = NULL;
if (pipe_create(&rpipe) || pipe_create(&wpipe)) {
pipeclose(rpipe);
pipeclose(wpipe);