From 87da84ba813d3eaf1ba663223b5d85e17c7be668 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 25 May 2000 07:14:13 +0000 Subject: (close_stdout_wrapper): Don't dereference NULL pointer. From Bob Proulx. --- src/dd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dd.c b/src/dd.c index 9c535793d..33367496a 100644 --- a/src/dd.c +++ b/src/dd.c @@ -1055,7 +1055,7 @@ static void (*closeout_func) (void) = close_stdout; static void close_stdout_wrapper (void) { - if (*closeout_func) + if (closeout_func) (*closeout_func) (); } -- cgit v1.2.3-70-g09d2