diff options
Diffstat (limited to 'authfile.c')
-rw-r--r-- | authfile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/authfile.c b/authfile.c index 1907cb1cc..668df7d9e 100644 --- a/authfile.c +++ b/authfile.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfile.c,v 1.117 2015/09/13 14:39:16 tim Exp $ */ | 1 | /* $OpenBSD: authfile.c,v 1.118 2015/12/10 17:08:40 mmcc Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000, 2013 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000, 2013 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -426,8 +426,7 @@ sshkey_load_cert(const char *filename, struct sshkey **keyp) | |||
426 | r = 0; | 426 | r = 0; |
427 | 427 | ||
428 | out: | 428 | out: |
429 | if (file != NULL) | 429 | free(file); |
430 | free(file); | ||
431 | if (pub != NULL) | 430 | if (pub != NULL) |
432 | sshkey_free(pub); | 431 | sshkey_free(pub); |
433 | return r; | 432 | return r; |