From 2deb4a20c3cdacd6fd653794a964f970eb8456a7 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Thu, 17 May 2001 18:22:58 +0000 Subject: [PATCH] initialize pipe pointers --- sys/kern/sys_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index aff33476b7d9..24b346486c0e 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -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);