X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/3173dd0d02dd2f0cd0ffa8eaf639c0f0a50ff3bf..2b8dc5e36b8af5e806f0ce4cfc04d34743157f47:/ssh-keygen.c diff --git a/ssh-keygen.c b/ssh-keygen.c index ef417514..e06ae1a5 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.143 2006/03/30 11:05:17 dtucker Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.144 2006/05/17 12:43:34 markus Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1994 Tatu Ylonen , Espoo, Finland @@ -514,8 +514,10 @@ do_fingerprint(struct passwd *pw) xfree(fp); exit(0); } - if (comment) + if (comment) { xfree(comment); + comment = NULL; + } f = fopen(identity_file, "r"); if (f != NULL) {