From 6e1629686442f357146cce4052a5fa4afd59d232 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 18 Oct 1998 15:21:22 +0000 Subject: Snapshot release 0.4.2 --- util/iobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/iobuf.c') diff --git a/util/iobuf.c b/util/iobuf.c index 515a5f8a3..e4c412444 100644 --- a/util/iobuf.c +++ b/util/iobuf.c @@ -431,7 +431,7 @@ iobuf_close( IOBUF a ) size_t dummy_len; int rc=0; - if( a->directfp ) { + if( a && a->directfp ) { fclose( a->directfp ); if( DBG_IOBUF ) log_debug("iobuf-close -> %p\n", a->directfp ); -- cgit v1.2.3