diff options
author | Werner Koch <wk@gnupg.org> | 1998-10-18 17:21:22 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-10-18 17:21:22 +0200 |
commit | 6e1629686442f357146cce4052a5fa4afd59d232 (patch) | |
tree | c6c7a5df241142ecd0797702a7bf6c3bfc8b6a33 /util/iobuf.c | |
parent | . (diff) | |
download | gnupg2-6e1629686442f357146cce4052a5fa4afd59d232.tar.xz gnupg2-6e1629686442f357146cce4052a5fa4afd59d232.zip |
Snapshot release 0.4.2V0-4-2
Diffstat (limited to 'util/iobuf.c')
-rw-r--r-- | util/iobuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |