]> andersk Git - openssh.git/blobdiff - ssh-keygen.c
- markus@cvs.openbsd.org 2006/05/17 12:43:34
[openssh.git] / ssh-keygen.c
index ef417514ae105dc60a47d9382fd8b627cfc9c381..e06ae1a5249ef830954603e1784a8afcc557faa8 100644 (file)
@@ -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 <ylo@cs.hut.fi>
  * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, 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) {
This page took 0.031245 seconds and 4 git commands to generate.