aboutsummaryrefslogtreecommitdiffstats
path: root/util/iobuf.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1997-12-02 19:36:53 +0000
committerWerner Koch <[email protected]>1997-12-02 19:36:53 +0000
commitcccf1efa4bcb97e2951a25ebd6250950d73d5169 (patch)
treeddf7e191b2782961c1494f0ab1e0c9ece0f0b6ca /util/iobuf.c
parentList and check sigs works (diff)
downloadgnupg-cccf1efa4bcb97e2951a25ebd6250950d73d5169.tar.gz
gnupg-cccf1efa4bcb97e2951a25ebd6250950d73d5169.zip
Sicherung
Diffstat (limited to '')
-rw-r--r--util/iobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/iobuf.c b/util/iobuf.c
index 466f07e31..61e1c5909 100644
--- a/util/iobuf.c
+++ b/util/iobuf.c
@@ -283,7 +283,7 @@ iobuf_cancel( IOBUF a )
{
const char *s;
- if( a->usage == 2 ) {
+ if( a && a->usage == 2 ) {
s = iobuf_get_fname(a);
if( s && *s )
remove(s); /* remove the file. Fixme: this will fail for MSDOZE*/