diff options
-rw-r--r-- | usr.bin/ssh/hostfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/hostfile.c b/usr.bin/ssh/hostfile.c index 06408e3f052..4f472815a4a 100644 --- a/usr.bin/ssh/hostfile.c +++ b/usr.bin/ssh/hostfile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hostfile.c,v 1.49 2010/11/29 23:45:51 djm Exp $ */ +/* $OpenBSD: hostfile.c,v 1.50 2010/12/04 13:31:37 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -314,6 +314,7 @@ load_hostkeys(struct hostkeys *hostkeys, const char *host, const char *path) num_loaded++; } debug3("%s: loaded %lu keys", __func__, num_loaded); + fclose(f); return; } |