diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-25 07:14:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-25 07:14:13 +0000 |
commit | 87da84ba813d3eaf1ba663223b5d85e17c7be668 (patch) | |
tree | 5b927c2596bc4291986c2ffaf5a90df324c9d8e4 | |
parent | 8b45419759c1955578b094abcfa08efd3aff85f7 (diff) | |
download | coreutils-87da84ba813d3eaf1ba663223b5d85e17c7be668.tar.xz |
(close_stdout_wrapper): Don't dereference NULL pointer.
From Bob Proulx.
-rw-r--r-- | src/dd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) (); } |