summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index d1a205e18..8acbcc493 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.225 2013/02/10 23:32:10 djm Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.226 2013/04/19 01:01:00 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2038,6 +2038,7 @@ update_krl_from_file(struct passwd *pw, const char *file, const Key *ca,
2038 } 2038 }
2039 if (strcmp(path, "-") != 0) 2039 if (strcmp(path, "-") != 0)
2040 fclose(krl_spec); 2040 fclose(krl_spec);
2041 free(path);
2041} 2042}
2042 2043
2043static void 2044static void
@@ -2090,6 +2091,8 @@ do_gen_krl(struct passwd *pw, int updating, int argc, char **argv)
2090 close(fd); 2091 close(fd);
2091 buffer_free(&kbuf); 2092 buffer_free(&kbuf);
2092 ssh_krl_free(krl); 2093 ssh_krl_free(krl);
2094 if (ca != NULL)
2095 key_free(ca);
2093} 2096}
2094 2097
2095static void 2098static void