1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-04 07:43:58 +02:00

(close_stdout_wrapper): Don't dereference NULL pointer.

From Bob Proulx.
This commit is contained in:
Jim Meyering
2000-05-25 07:14:13 +00:00
parent 8b45419759
commit 87da84ba81
+1 -1
View File
@@ -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) ();
}